https://pulumi.com logo
f

full-dress-10026

02/02/2019, 4:23 PM
Is it possible to use a different AWS profile for a specific stack?
s

stocky-spoon-28903

02/02/2019, 5:02 PM
Hey @full-dress-10026 - I don’t believe it is right now, but rejigging the AWS config is on my plate for soon. Can you explain how you want to use it?
f

full-dress-10026

02/02/2019, 5:03 PM
Sure. We have a demo application we want deployed in both our prod and dev AWS accounts.
For the time being, I just wrote a script that does this:
Copy code
export AWS_PROFILE=compute-dev

pulumi up --stack ComputeSoftware/fib-demo -y
s

stocky-spoon-28903

02/02/2019, 5:04 PM
So that particular example I think you can do:
Copy code
pulumi config set aws:profile compute-dev
For the stack in question
Sorry, I didn’t follow the original question!
f

full-dress-10026

02/02/2019, 5:07 PM
Oh, sweet. Thanks!