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 6dc1e62 commit 296e9ddCopy full SHA for 296e9dd
Terraform/3-main.tf
@@ -87,8 +87,8 @@ EOF
87
provisioner "local-exec" {
88
when = destroy
89
command = <<EOF
90
-# Configure kubectl for destroy
91
-aws eks update-kubeconfig --name ${module.eks.cluster_name} --region us-east-1 || true
+# Configure kubectl for destroy (using hardcoded cluster name)
+aws eks update-kubeconfig --name otel-cluster --region us-east-1 || true
92
kubectl delete application solar-system -n argocd --ignore-not-found=true
93
EOF
94
}
0 commit comments