https://pulumi.com logo
#general
Title
# general
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
Copy code
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: awsregion us-east-1 awsprofile <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
2 Views