8547603ff5
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. |
||
---|---|---|
.. | ||
config-build | ||
dir-empty | ||
invalid-files | ||
invalid-modules | ||
nested-errors | ||
valid-files | ||
valid-modules | ||
warning-files |