-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Getting error while creating config map #33
Getting error while creating config map #33
Comments
Hello! Can you check if you have permission to create a config map? |
I have admin privilege to create cluster but I am getting below error while
creating the cluster.
module.eks.kubernetes_config_map.aws_auth[0]: Creating...
Error: Unauthorized
…On Wed, 3 Feb 2021 at 23:11, Tu Nguyen ***@***.***> wrote:
Hello! Can you check if you have permission to create a config map?
-
https://aws.amazon.com/premiumsupport/knowledge-center/eks-api-server-unauthorized-error/
- terraform-aws-modules/terraform-aws-eks#612
<terraform-aws-modules/terraform-aws-eks#612>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#33 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHMJ27CE35HIOIGJC3KIYV3S5GDDLANCNFSM4XBG3WTQ>
.
|
Can you try following the instructions for You're the cluster creator |
The instructions are telling about error which we getting after cluster
creation.
I am hetting below error middle of the cluster creation
There is some issue in your code, please correct it or suggest me a stable
terraform code
…On Thu, 4 Feb 2021 at 12:53 AM, Tu Nguyen ***@***.***> wrote:
Can you try following the instructions for You're the cluster creator
<https://aws.amazon.com/premiumsupport/knowledge-center/eks-api-server-unauthorized-error/>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#33 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHMJ27DP2RH35A3BFHAKP4TS5GKPVANCNFSM4XBG3WTQ>
.
|
I haven't been able to replicate it, can you provide more information and the full error message? |
I have attached the error log. Please have a look.
…On Thu, 4 Feb 2021 at 09:09, Tu Nguyen ***@***.***> wrote:
I haven't been able to replicate it, can you provide more information and
the full error message?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#33 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHMJ27GKNWXNXSZLR5ELQ2LS5IJFTANCNFSM4XBG3WTQ>
.
|
I solved this changing in my .aws/config file the region from us-west-2 to us-east-2 $ cat ~/.aws/config |
@mijhael3000 After making the changes also, getting same error |
Can you create an issue in the terraform-aws-eks module repo? They should be able to help you |
I'm getting the same error as well: module.eks.kubernetes_config_map.aws_auth[0]: Creating...
Error: Unauthorized I'm testing with
The AWS documentation only has to do with after creating the cluster which is NOT the case for me as well. EDIT: This is happening because I'm deploying the cluster with a specific terraform role. If I deploy the cluster with the Admin user then I can access the cluster from the console as well as get the config_map to be created. The docs should be more explicit about use cases like this |
terraform version 0.14
Getting Error: Unauthorized while creating config map. Please fix
The text was updated successfully, but these errors were encountered: