Skip to content

Instantly share code, notes, and snippets.

@mjaromi
Created February 24, 2021 14:52
Show Gist options
  • Save mjaromi/2258fb19dde9d02ad07df96f16c56aa1 to your computer and use it in GitHub Desktop.
Save mjaromi/2258fb19dde9d02ad07df96f16c56aa1 to your computer and use it in GitHub Desktop.
Dirty fix for 'terragrunt destroy' for EKS cluster
Issue:
# terragrunt destroy
Error: Delete "http://localhost/api/v1/namespaces/kube-system/configmaps/aws-auth": dial tcp 127.0.0.1:80: connect: connection refused
Fix:
# terragrunt state rm module.eks.kubernetes_config_map.aws_auth
Removed module.eks.kubernetes_config_map.aws_auth[0]
Successfully removed 1 resource instance(s).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment