https://pulumi.com logo
#azure
Title
# azure
g

glamorous-lifeguard-90201

05/17/2021, 10:00 AM
Does anyone know where I can find best practices or examples with regard to mapping between Azure management groups, subscriptions and resource groups and Pulumi stacks? I am looking for a logical way to organize our Pulumi code base.
b

brave-planet-10645

05/17/2021, 10:10 AM
I would first of all think how you want to arrange the management groups, subscriptions and resource groups. Are there particular subscriptions and resource groups that go together for example? Then use Pulumi to describe them. Also, you'll probably want to use the stacks to describe the environment and the project to describe the grouping of resources. More info on stacks here: https://www.pulumi.com/docs/intro/concepts/stack/ There's also a great article on organising projects and stacks here: https://www.pulumi.com/docs/guides/organizing-projects-stacks/
g

glamorous-lifeguard-90201

05/17/2021, 11:20 AM
Thanks! I’ll see how far I get with this info.
3 Views