https://pulumi.com logo
Title
b

brash-restaurant-84207

09/29/2022, 11:31 AM
hi, what is the method for assigning which AWS credentials profile should be used? (not from the command line) Something in a a yaml file?
e

echoing-dinner-19531

09/29/2022, 11:57 AM
pulumi config set aws:profile <profile name>
That will set the profile for the current stack
We’re working on being able to just add that to the Pulumi.yaml file as well
b

brash-restaurant-84207

09/29/2022, 2:49 PM
a colleague of mine seems to think that it can be configured in the Pulumi.stackname.yaml file
something like this:
config: aws:region: us-east-1 aws😛rofile: <aws-credentials-file-profile-name>
does that sound right?
e

echoing-dinner-19531

09/29/2022, 7:11 PM
yup yup, that’s what
pulumi config set
does, it just edits the Pulumi.stack.yaml file