-
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
Why does terraform apply fail? #35
Comments
@im2nguyen I reproduced the situation and ran
|
Can you check if the IAM user you're using to provision the cluster has the right permissions? |
@im2nguyen I'm providing my root user access keys (when running |
It should... hrm... I'm stumped but will try digging into it more (unable to reproduce on my end). In the meantime, can you raise an issue in the |
@im2nguyen Im having the same problem right now, did you find a fix for this? |
Have you provided "region" when authenticating with "aws configure" ? @kaykhancheckpoint My problem was because of that. |
yes i did, i am actually providing it in the terraform provider aws config. I think my error is a bit more specific its to do with the auth not being created
Everything else creates fine. |
I'm trying to follow the tutorial, But
terraform apply
fails.Steps to reproduce:
docker run --rm -it --entrypoint bash amazon/aws-cli:latest
aws configure
git clone https://github.com/hashicorp/learn-terraform-provision-eks-cluster
cd learn-terraform-provision-eks-cluster && terraform apply --auto-approve
I have provided my root user access keys (aws configure) and did the above and now the
eks
is created and the autoscaling groups are also created andec2
instances are running. But theterraform apply
fails with this output:And here is the last snapshot in logs:
Any suggestions?
The text was updated successfully, but these errors were encountered: