This website requires JavaScript.
Explore
Help
Sign In
ResiLien
/
terraform
Watch
2
Star
0
Fork
You've already forked terraform
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
ecac80fd8e
terraform
/
config
/
test-fixtures
/
output-unnamed.tf
8 lines
62 B
Terraform
Raw
Normal View
History
Unescape
Escape
config: generate errors for unnamed blocks of various sources We've been incorrectly validating (or not validating at all) the requirement that certain blocks be followed by a name string, to prohibit e.g. this: variable {} and: variable = "" Before this change we were catching this for most constructs only if there were no _valid_ blocks of the same name in the same file. For modules in particular, we were not catching this at all. Now we detect this for all kinds of block (resources had a pre-existing check, so aren't touched here) and produce a different error message depending on which of the above incorrect forms are used. This fixes #13575.
2017-05-03 00:42:34 +02:00
output
"
okay
"
{
value
=
"
bar
"
}
config: validate that outputs have a name
2016-11-03 00:56:20 +01:00
output
{
value
=
"
foo
"
}