-
Notifications
You must be signed in to change notification settings - Fork 156
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
AWS config in pulumi stack config is no longer respected #791
Comments
This is very surprising. What version of the |
Hi @shellicar So I have been looking at this right now. I have the following Pulumi code:
I have the following Pulumi.dev.yaml
When I run Pulumi up, I get the following:
Please note, I have no environment variables set for AWS - that would be the other way of the provider being configured:
Please can you try this again using the latest Pulumi AWS plugin and see if this is still a problem for you? Thanks Paul |
I have the same problem here, "pulumi up" is working fine, but "pulumi refresh" is not. |
Sorry to bring up a 2-year old issue, but I am just encounting this exact issue today where I have two stacks that have identical |
I also get this issue. This seems to be specific to some resources, notably:
|
same issue here, for some reason refresh locally works but not in CI |
Just encountered the exact same issue, where Update! Running |
I'm also experiencing this issue.
while other commands (e.g. |
I believe this fixed with #2004 and will get released in this weeks release |
Issue
Previously, aws config, including
aws:accessKey
,aws:region
, andaws:secretKey
were used from thePulumi.{stack}.yaml
file.This no longer seems to be the case after what I can only guess was a dependency update.
It was working on
Even though pulumi itself was not updated, and no packages in the package.json (using TypeScript) were updated, a CICD build that used to work now no longer works with no changes. And using
pulumi refresh
no longer works locally.I can't recommend or use a tool that can break when I haven't even updated anything myself.
Error Message
error: Preview failed: unable to discover AWS AccessKeyID and/or SecretAccessKey - see https://pulumi.io/install/aws.html for details on configuration
This page defined how to configure AWS credentials using the AWS CLI, which I am not using.
Config
This is the stack config I am using with sensitive info changed.
References
https://www.pulumi.com/docs/intro/cloud-providers/aws/#configuration
The text was updated successfully, but these errors were encountered: