Skip to content

Commit

Permalink
chore: adding command to delete resources not managet by tf
Browse files Browse the repository at this point in the history
  • Loading branch information
caiocsgomes committed Aug 11, 2024
1 parent b46cb50 commit c2e10b8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/terraform-destroy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ jobs:

- name: delete resources created not managed by terraform
continue-on-error: true
run: kubectl delete -f kubernetes/ingress
run: |
kubectl delete -f kubernetes/ingress # deletes ALB created by aws-load-balancer-controller
kubectl delete nodeclaims --all # deletes nodes created by karpenter
sleep 60
- name: terraform init
run: terraform init
Expand Down

0 comments on commit c2e10b8

Please sign in to comment.