github.com/rstandt/terraform@v0.12.32-0.20230710220336-b1063613405c/command/testdata/plan-invalid/main.tf (about)

     1  resource "test_instance" "foo" {
     2    count = 5
     3  }
     4  
     5  resource "test_instance" "bar" {
     6    # This is invalid because timestamp() returns an unknown value during plan,
     7    # but the "count" argument in particular must always be known during plan
     8    # so we can predict how many instances we will operate on.
     9    count = timestamp()
    10  }