-
-
Couldn't load subscription status.
- Fork 4.3k
Description
Description
at terraform destroy execution it's failing on module.eks.kubernetes_config_map.aws_auth[0]
with error:
Error: Unauthorized
Versions
- Terraform: 1.0.9
- Provider(s): kubernetes 2.6.1
- Module: EKS 17.22.0
Reproduction
Steps to reproduce the behavior:
Are you using workspaces?: yes
Have you cleared the local cache (see Notice section above)?: yes
List steps in order that led up to the issue you encountered:
create AWS EKS cluster with custom users, run terraform destroy.
Code Snippet to Reproduce
module "eks" {
version = "17.22.0"
source = "terraform-aws-modules/eks/aws"
cluster_name = var.cluster_name
cluster_version = "1.21"
.
.
.
map_roles = var.map_roles
map_users = var.map_users
}
Expected behavior
Destroy removes EKS cluster
Actual behavior
Destroy is failing on deleting aws_auth configmap