sparse-intern-71089
05/09/2021, 7:04 PMimportant-sandwich-62391
05/09/2021, 7:53 PMfast-vegetable-68654
05/09/2021, 8:32 PMroot
aws account. I don't/can't create those resources in the other accounts like dev
or ops
so I'd wrap those resources and exports in conditional that checks if the stack is the root account stack. Then when I need to access the account ids for the various accounts in the IAM roles for the member accounts, I would just reference the root account stack outputs. I guess all of this can be done in the same project using different stacks. I worry about the complexity at scale, but I haven't come across any documentation or examples of this. Again, this is just me applying the patterns I learned from terragrunt/terraform and there is probably a different patten in Pulumi that's better.No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by