Can someone help me with CI and AWS. I am a bit co...
# general
f
Can someone help me with CI and AWS. I am a bit confused over how to deal with Roles/IAM/RBAC for setting up the infrastructure in such way that staging and dev branches are different from prod in terms of rights
b
You can use conditionals based off of your stack name
Copy code
if (pulumi.getStack() == "prod") {
   ...
else {
   ...
}
f
But aren’t the access tokens coming from outside in a config?
b
You can have different configurations per stack
f
Ah nice
Thanks