-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Describe the bug
Unable to import module in project with Terraform 13.4 due to:
Error: Invalid reference from destroy provisioner
on .terraform/modules/linkerd/crds.tf line 17, in resource "null_resource" "crds":
17: command = "kubectl delete -f - <<EOF\n${data.template_file.crds.rendered}\nEOF"
Also two warning about deprecation also are there:
Warning: Interpolation-only expressions are deprecated
on .terraform/modules/linkerd/controller.tf line 216, in resource "kubernetes_deployment" "linkerd_controller":
216: "${local.linkerd_deployment_incoming_proxy_port}",
(and 38 more similar warnings elsewhere)
....
Warning: Quoted keywords are deprecated
on .terraform/modules/linkerd/crds.tf line 16, in resource "null_resource" "crds":
16: when = "destroy"
To Reproduce
- Put module in
tf
file
module "linkerd" {
source = "git::ssh://git@github.com/rtlnl/terraform-aws-linkerd2.git?ref=main"
}
- Import it
terraform init
Expected behavior
Possibility to import module on Terraform >=0.13.4
Desktop (please complete the following information):
- OS: macos
- Terraform: 0.13.4
Metadata
Metadata
Assignees
Labels
No labels