mumoshu / terraform-provider-eksctl

Manage AWS EKS clusters using Terraform and eksctl
Apache License 2.0
234 stars 44 forks source link

InvalidClientTokenId: The security token included in the request is invalid #35

Open anqingxu opened 3 years ago

anqingxu commented 3 years ago

When I ran terraform apply, I got

Error: creating cluster: running eksctl create cluster: /usr/local/bin/eksctl: exit status 1 [ℹ] eksctl version 0.35.0 [ℹ] using region us-east-1 Error: checking AWS STS access – cannot get role ARN for current session: InvalidClientTokenId: The security token included in the request is invalid. status code: 403, request id: 6b4d22f1-0507-45e4-a199-3903df80a0f7

But if I ran eksctl create cluster command directly in the same shell, it worked fine.

What could have caused the issue?

abrewers commented 3 years ago

Did this get resolved? I have the same issue