This message was deleted.
# general
s
This message was deleted.
i
I have a couple of named profiles and it works. Specifically
AWS_PROFILE=test pulumi up
works
l
Ah, thanks. Yes, that works. I forgot to mention I exported
AWS_DEFAULT_PROFILE
, then ran
pulumi update
unadorned. That didn’t work.
i
Great it worked for you!
l
Yes, your suggestion worked. Thank you! Still have a question about using
AWS_DEFAULT_PROFILE
, which doesn’t work. Might not be implemented.
g
I believe we ultimately rely on the underlying aws-sdk-go library for this. So if it's supported there, I think it should work in Pulumi. Unfortunately I'm not familiar with the never-ending list of ways that AWS does auth, hehe.
l
Thanks @gentle-diamond-70147. I’ll read that code and see what’s what.
m
@lemon-wall-81522 you can also add them via
pulumi config set
, and they vary by stack.
Copy code
pulumi config set aws:region us-east-1
pulumi config set aws:profile someprofile.role
l
Good idea. The only thing I’m using that for right now is specify a region.