You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -534,11 +534,13 @@ To remove the cluster you have to:
534
534
```
535
535
536
536
1. Set these flags, the module will remove every usage of the Kubernetes provider and allow
537
-
you to remove the cluster module without any errors.
537
+
you to remove the cluster module without any errors. Setting `enable_deletion_protection = false`
538
+
disables deletion protection on the Traefik NLB/ALB load balancers so they can be removed by Terraform.
538
539
539
540
```yaml
540
-
efs_csi_driver_enabled = false
541
+
efs_csi_driver_enabled = false
541
542
kubernetes_provider_enabled = false
543
+
enable_deletion_protection = false
542
544
```
543
545
544
546
1. If above PR `apply` fails (possible reason: race condition - aws_auth removed too soon), remove all `kubernetes_*` resources from state:
@@ -549,8 +551,6 @@ To remove the cluster you have to:
549
551
terraform state rm ...
550
552
```
551
553
552
-
1. Manually remove LB deletion protection from AWS (both external and internal) before final delete
553
-
554
554
1. if there are other clusters in the same region, remove `aws_cloudwatch_event_rule.spot_aws_health aws_cloudwatch_event_rule.spot_aws_ec2` from the state manually.
555
555
556
556
1. Remove module invocation to finally delete cluster itself.
0 commit comments