Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a Troubleshooting steps section in the README #36

Open
ashseqera opened this issue Feb 7, 2024 · 0 comments
Open

Create a Troubleshooting steps section in the README #36

ashseqera opened this issue Feb 7, 2024 · 0 comments
Assignees

Comments

@ashseqera
Copy link
Contributor

Noticed while testing the module that if your local kube config is messed up then you might face the following error while trying to access the newly created cluster ,

│ Error: The configmap "aws-auth" does not exist
│ 
│   with module.terraform-seqera-aws.module.eks.kubernetes_config_map_v1_data.aws_auth[0],
│   on .terraform/modules/terraform-seqera-aws.eks/main.tf line 562, in resource "kubernetes_config_map_v1_data" "aws_auth":
│  562: resource "kubernetes_config_map_v1_data" "aws_auth" {
│ 
╵
╷
│ Error: Unauthorized
│ 
│   with module.terraform-seqera-aws.kubernetes_namespace_v1.this[0],
│   on .terraform/modules/terraform-seqera-aws/main.tf line 205, in resource "kubernetes_namespace_v1" "this":
│  205: resource "kubernetes_namespace_v1" "this" {
│ 

Solution: Clear out ~/.kube/config and try again. Remember to take a back up of the file before removing it .

@ashseqera ashseqera self-assigned this Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant