Underlying aws command does not respect aws:profile from pulumi config #65
Labels
kind/bug
Some behavior is incorrect or out of spec
needs-triage
Needs attention from the triage team
What happened?
When running
pulumi up
and using anaws:config some-org/user
fromPulumi.stackname.yml
, all commands work fine, except for the synced folder command, which returnsAlthough the access key is in fact valid, and the profile does exist in
~/.aws/credentials
theaws s3 ...
command that this library uses does not seem to correctly pick up the right profile to use.Simply renaming the line
[some-org/user]
in~/.aws/credentials
to[default
] fixes the issue.If you work on multiple projects and/or stacks, this can be very annoying.
Example
Don't have an example, but the above description should allow you to reproduce the error.
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: