github.com/rstandt/terraform@v0.12.32-0.20230710220336-b1063613405c/command/testdata/init-sniff-version-error/init-sniff-version-error.tf (about) 1 # The following is invalid because we don't permit multiple nested blocks 2 # all one one line. Instead, we require the backend block to be on a line 3 # of its own. 4 # The purpose of this test case is to see that HCL still produces a valid-enough 5 # AST that we can try to sniff in this block for a terraform_version argument 6 # without crashing, since we do that during init to try to give a better 7 # error message if we detect that the configuration is for a newer Terraform 8 # version. 9 terraform { backend "local" {} }