terraform/configs/testdata/warning-files
James Bardin 8547603ff5 deprecation warning for destroy provisioner refs
Add deprecation warning for references from destroy provisioners or
their connections to external resources or values. In order to ensure
resource destruction can be completed correctly, destroy nodes must be
able to evaluate with only their instance state.

We have sufficient information to validate destroy-time provisioners
early on during the config loading process. Later on these can be
converted to hard errors, and only allow self, count.index, and each.key
in destroy provisioners. Limited the provisioner and block evaluation
scope later on is tricky, but if the references can never be loaded,
then they will never be encountered during evaluation.
2019-12-04 11:14:37 -05:00
..
depends_on.tf configs: Emit warnings for deprecated quoted references/keywords 2019-11-11 10:17:34 -08:00
destroy-provisioners.tf deprecation warning for destroy provisioner refs 2019-12-04 11:14:37 -05:00
ignore_changes.tf configs: Emit warnings for deprecated quoted references/keywords 2019-11-11 10:17:34 -08:00
provider_ref.tf configs: Emit warnings for deprecated quoted references/keywords 2019-11-11 10:17:34 -08:00
provisioner_keyword.tf configs: Emit warnings for deprecated quoted references/keywords 2019-11-11 10:17:34 -08:00
redundant_interp.tf configs: Warn for deprecated interpolation and quoted type constraints 2019-11-13 07:55:55 -08:00
variable_type_quoted.tf configs: Warn for deprecated interpolation and quoted type constraints 2019-11-13 07:55:55 -08:00