You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Invalid reference from destroy provisioner on .terraform/modules/flux/helm-operator.tf line 18, in resource "null_resource" "crds": 18: command = "kubectl delete -f - <<'EOF'\n${data.template_file.crds.rendered}\nEOF" Destroy-time provisioners and their connection configurations may only reference attributes of the related resource, via 'self', 'count.index', or 'each.key'. References to other resources during the destroy phase can cause dependency cycles and interact poorly with create_before_destroy.
The text was updated successfully, but these errors were encountered:
Describe the bug
It looks like this doesnt run with the my version of tf (v0.13.4)
To Reproduce
Attempted to run this against my cluster, fails at validate
use the below block (or your sample block) and run a TF validate against it.
Terraform (please complete the following information):
v0.13.4
Additional context
using only:
module "flux" { source = "rtlnl/flux/aws" git_url = "redacted" install_helm_operator = false path = "./helm" }
Error: Invalid reference from destroy provisioner on .terraform/modules/flux/helm-operator.tf line 18, in resource "null_resource" "crds": 18: command = "kubectl delete -f - <<'EOF'\n${data.template_file.crds.rendered}\nEOF" Destroy-time provisioners and their connection configurations may only reference attributes of the related resource, via 'self', 'count.index', or 'each.key'. References to other resources during the destroy phase can cause dependency cycles and interact poorly with create_before_destroy.
The text was updated successfully, but these errors were encountered: