-
Notifications
You must be signed in to change notification settings - Fork 43
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
Deploy fails when using aws profile #288
Comments
We should add the profile argument to that command. You can get around this issue by running:
|
I experienced this same error too, I'm going to throw spaghetti at the wall with a proposed fix and see if it sticks. |
This should be fixed now, closing. |
It's working for me now. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
I am following the EKS on AWS setup instructions to evaluate jenkinsx.
I have multiple aws profiles across multiple aws accounts. I set the correct profile to use in the infrastructure repo variables. Running
terraform apply
fails with an error.Steps to reproduce the behavior
~/.aws/credentials
with "default" profile in one account and "second" profile in a different account.default = "second"
for "profile" variable in variables.tfterraform init && terraform apply
Expected behavior
Terraform commands complete successfully.
Actual behavior
Terraform fails with error:
Running
aws eks update-kubeconfig --name tf-jx-capital-sunfish --region=us-east-1 --profile second
succeeds.Terraform version
The output of
terraform version
is:Module version
1.15.37
Operating system
MacOS
The text was updated successfully, but these errors were encountered: