terraform/configs/testdata
Martin Atkins 79dc808614 configs: Emit warnings for deprecated quoted references/keywords
Terraform 0.12.0 removed the need for putting references and keywords
in quotes, but we disabled the deprecation warnings for the initial
release in order to avoid creating noise for folks who were intentionally
attempting to maintain modules that were cross-compatible with both
Terraform 0.11 and Terraform 0.12.

However, with Terraform 0.12 now more widely used, the lack of these
warnings seems to be causing newcomers to copy the quoted versions from
existing examples on the internet, which is perpetuating the old and
confusing quoted form in newer configurations.

In preparation for phasing out these deprecated forms altogether in a
future major release, and for the shorter-term benefit of giving better
feedback to newcomers when they are learning from outdated examples, we'll
now re-enable those deprecation warnings, and be explicit that the old
forms are intended for removal in a future release.

In order to properly test this, we establish a new set of test
configurations that explicitly mark which warnings they are expecting and
verify that they do indeed produce those expected warnings. We also
verify that the "success" tests do _not_ produce warnings, while removing
the ones that were previously written to succeed but have their warnings
ignored.
2019-11-11 10:17:34 -08:00
..
config-build
dir-empty move IsEmptyDir to configs package 2019-07-18 13:07:10 -04:00
invalid-files Remove panic, update comment 2019-07-26 11:22:10 -04:00
invalid-modules
nested-errors ensure we record diagnostics from nested modules 2019-07-16 19:06:48 -04:00
valid-files configs: Emit warnings for deprecated quoted references/keywords 2019-11-11 10:17:34 -08:00
valid-modules
warning-files configs: Emit warnings for deprecated quoted references/keywords 2019-11-11 10:17:34 -08:00