공부/개발
[Terraform] EKS Cluster 삭제시 aws-auth 에러 해결하기
na0-0
2025. 4. 29. 20:45
반응형
아래와 같이 aws-auth 관련 메시지 나올 때 해결책
│ Error: Get "http://localhost/api/v1/namespaces/kube-system/configmaps/aws-auth": dial tcp [::1]:80: connect: connection refused
│
│ with module.eks.kubernetes_config_map_v1_data.aws_auth[0],
│ on .terraform/modules/eks/main.tf line 562, in resource "kubernetes_config_map_v1_data" "aws_auth":
│ 562: resource "kubernetes_config_map_v1_data" "aws_auth" {
│
tfstate에서 aws_auth 삭제 후 다시 작업
terraform state rm module.eks.kubernetes_config_map_v1_data.aws_auth
반응형