0.3.2
what
- Use
join
+splat
pattern for outputs using resources withcount
why
- New
Terraform
versions complain if a resource withcount
is used inoutputs
withoutsplat
syntax
Resource 'null_resource.default' not found for variable 'null_resource.default.triggers.id'
Terraform will now detect and warn about outputs containing potentially-problematic references to resources with count set where the references does not use the "splat" syntax. This identifies situations where an output may reference a resource with count = 0 even if the count expression does not currently evaluate to 0, allowing the bug to be detected and fixed before the value is later changed to 0 and would thus become an error. This usage will become a fatal error in Terraform 0.12. (#16735)