We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9592d35 commit 04a1002Copy full SHA for 04a1002
Terraform/modules/argocd/applications.tf
@@ -38,10 +38,10 @@ EOF
38
39
provisioner "local-exec" {
40
when = destroy
41
- command = <<EOF
42
-# Configure kubectl for destroy (using hardcoded cluster name for destroy compatibility)
43
-aws eks update-kubeconfig --name ${var.cluster_name} --region us-east-1 || true
44
-kubectl delete application ${var.applications[count.index].name} -n ${var.namespace} --ignore-not-found=true
+ command = <<EOF
+# Configure kubectl for destroy (using hardcoded values)
+aws eks update-kubeconfig --name otel-cluster --region us-east-1 || true
+kubectl delete application ${var.applications[count.index].name} -n argocd --ignore-not-found=true
45
EOF
46
}
47
0 commit comments