Skip to content

Commit ffb6b37

Browse files
committed
Fix destroy command in ArgoCD applications to use correct application name reference
1 parent 04a1002 commit ffb6b37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Terraform/modules/argocd/applications.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ EOF
4141
command = <<EOF
4242
# Configure kubectl for destroy (using hardcoded values)
4343
aws eks update-kubeconfig --name otel-cluster --region us-east-1 || true
44-
kubectl delete application ${var.applications[count.index].name} -n argocd --ignore-not-found=true
44+
kubectl delete application ${self.triggers.name} -n argocd --ignore-not-found=true
4545
EOF
4646
}
4747

0 commit comments

Comments
 (0)