mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-04-30 12:24:34 +02:00
fix: Forces cluster outputs to wait until access entries are complete (#3000)
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
|
||||
@@ -37,9 +37,6 @@ $ terraform apply
|
||||
Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources.
|
||||
|
||||
```bash
|
||||
# Necessary to avoid removing Terraform's permissions too soon before its finished
|
||||
# cleaning up the resources it deployed inside the clsuter
|
||||
terraform state rm 'module.eks.aws_eks_access_entry.this["cluster_creator_admin"]' || true
|
||||
terraform destroy
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user