https://pulumi.com logo
Title
f

freezing-greece-82130

04/06/2023, 4:01 AM
hey all does anyone have experience with AWS multi-account setup in pulumi
b

billowy-army-68599

04/06/2023, 4:07 AM
Yep! What do you need to know?
e

enough-painter-7423

04/06/2023, 4:29 AM
All resources accept CustomResourceOptions https://www.pulumi.com/docs/intro/concepts/resources/options/ which accept Provider such as https://www.pulumi.com/registry/packages/aws/api-docs/provider/ with which, in turn, you can specify an AWS profile for API calls. Technically that’s all you need, very flexible... but too verbose, though. Instead you may want to group resources belonging to the same account as a Pulumi stack and do
pulumi config set aws:profile
https://www.pulumi.com/registry/packages/aws/installation-configuration/#set-up-multiple-profiles per stack. I have a cross-regional (but not cross-account) setup consisting of multiple stacks. I’d be interested in learning how others organize complex Pulumi AWS projects
f

freezing-greece-82130

04/13/2023, 5:53 AM
merp sorry totally forgot I posted this, I thiink I’m on the right track right now with my setup, I have separate stacks already setup with Organization -> OU -> Account, and specify Account-level permissions separately in each config respectively