fix: Forces cluster outputs to wait until access entries are complete (#3000)

This commit is contained in:
Loren Gordon
2024-04-08 15:45:48 -07:00
committed by GitHub
parent 07be37dc7a
commit e2a39c0f26
3 changed files with 20 additions and 8 deletions

View File

@@ -41,11 +41,6 @@ kubectl delete node -l karpenter.sh/provisioner-name=default
2. Remove the resources created by Terraform
```bash
# 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"]' || true
terraform state rm 'module.eks.aws_eks_access_policy_association.this["cluster_creator_admin"]' || true
terraform destroy
```