-
Notifications
You must be signed in to change notification settings - Fork 9k
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 #590
Comments
As our Terraform graph has grown I've been seeing this more and more. It's still present in Terraform 0.10.7 with AWS provider 0.1.4. Adding |
Is the number |
It's been a while, but from what I remember the number was determined via trial and error, and did not seem to be a hard limit. But YMMV. |
A few months ago I wondered if the Just one data point though. Maybe someone else is still seeing it? |
I'm still seeing this issue, though my version of the AWS plugin (1.36) is getting pretty ancient. As posted elsewhere, Edit: the project in question has about 30 modules, and each module has one submodule, and each submodule has two providers. It's an odd setup, and not one that I use often! |
EDIT: A colleague remembered the solution. Apparently there is an obscure bug with whitespace in
|
Getting: Running I tried running with |
Hi folks 👋 It looks like the original bug report no longer has the information to make troubleshooting it possible for the maintainers, so given that I'm going to close this. There have been a lot of changes in the Terraform CLI and Terraform AWS Provider regarding authentication handling since this was originally filed, so if you are still having lingering issues on recent versions (Terraform 0.12.28 and Terraform AWS Provider 2.69.0 are the latest as of this writing), we would suggest filing a new bug report following the issue template and we will take a fresh look. Thanks. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
This issue was originally opened by @FlorinAndrei as hashicorp/terraform#12508. It was migrated here as part of the provider split. The original body of the issue is below.
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: