terraform/configs/testdata/valid-files
Martin Atkins 91752f02da configs: Warn for deprecated interpolation and quoted type constraints
Following on from de652e22a26b, this introduces deprecation warnings for
when an attribute value expression is a template with only a single
interpolation sequence, and for variable type constraints given in quotes.

As with the previous commit, we allowed these deprecated forms with no
warning for a few releases after v0.12.0 to ensure that folks who need to
write cross-compatible modules for a while during upgrading would be able
to do so, but we're now marking these as explicitly deprecated to guide
users towards the new idiomatic forms.

The "terraform 0.12upgrade" tool would've already updated configurations
to not hit these warnings for those who had pre-existing configurations
written for Terraform 0.11.

The main target audience for these warnings are newcomers to Terraform who
are learning from existing examples already published in various spots on
the wider internet that may be showing older Terraform syntax, since those
folks will not be running their configurations through the upgrade tool.
These warnings will hopefully guide them towards modern Terraform usage
during their initial experimentation, and thus reduce the chances of
inadvertently adopting the less-readable legacy usage patterns in
greenfield projects.
2019-11-13 07:55:55 -08:00
..
backend.tf
data-sources.tf
empty.tf
empty.tf.json
locals.tf
locals.tf.json
outputs.tf
provider-configs.tf
providers-explicit-implied.tf
references.tf.json configs: Warn for deprecated interpolation and quoted type constraints 2019-11-13 07:55:55 -08:00
required-providers.tf
required-version.tf
resources-ignorechanges-all.tf
resources-ignorechanges-all.tf.json
resources.tf
variables.tf
variables.tf.json