Skip to content

Commit

Permalink
fix: Fix terraform state removal typo for eks cluster access (#1894)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsouravin authored Feb 27, 2024
1 parent 2c53ead commit fa4236a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/_partials/destroy.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
```sh
# Necessary to avoid removing Terraform's permissions too soon before its finished
# cleaning up the resources it deployed inside the cluster
terraform state rm 'module.eks.aws_eks_access_entry.this["cluster_creator_admin"]' || true
terraform state rm 'module.eks.aws_eks_access_entry.this["cluster_creator"]' || true
terraform state rm 'module.eks.aws_eks_access_policy_association.this["cluster_creator_admin"]' || true

terraform destroy -target="module.eks_blueprints_addons" -auto-approve
terraform destroy -target="module.eks" -auto-approve
Expand Down

0 comments on commit fa4236a

Please sign in to comment.