-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
intermittent "No valid credential sources found for AWS Provider" error #12508
Comments
The only change I could think of was: I have a module called But now going back to the env I'm working on, I get this fluctuating error all the time. Not sure if this is indeed the cause. Perhaps it's unrelated. |
|
The error disappears if I add the I was able to do a successful complete run (build from scratch) with |
Potentially being rate limited on the auth itself? I'm not really sure here if you could provide [minimal] configs to reproduce this it'd be helpful to run it ourselves and see. |
Here is the TF env with the modules: no_valid_credential_sources.tar.gz The sensitive info has been redacted. |
Things I should probably mention:
|
I am running into the same intermittent error with 0.9.1. Also disappears if I use |
👍 we've been fighting this for a while. #6222 is related |
Actually, may be different if static credentials are being used here. We rely on the EC2 metadata endpoint to supply the credentials. |
I haven't seen this issue much recently, but it was intermittent to begin with. |
I see it everytime I try to add a "aws_route53_record" resource...it's maddening. |
Had this issue today when there was spelling mistakes in the AWS credential file, fixing that made the error go away. The error message confused me so that might need to be more specific. |
This issue has been migrated to hashicorp/terraform-provider-aws#590 as part of separating the providers into their own repositories. Please post any further comments over there! Thanks. |
Terraform Version
Terraform v0.8.8
Affected Resource(s)
everything
Terraform Configuration Files
I'll provide these if necessary.
Actual Behavior
https://gist.github.com/FlorinAndrei/aa4cb6a677da1f8b0ffa92b10e5d06c8
Important Factoids
Happens intermittently. The number of errors occurred varies from one run to the next. Typically about half a dozen. Once in a blue moon there are no errors and the plan command actually works.
The text was updated successfully, but these errors were encountered: