Hi folks! I have a set of resources that are static and should not change on a per-branch basis like AWS Route 53 hosted zones, CDN distribution, custom domain DNS validation etc, and a set of resources that could change on a per-branch basis like databases, API Gateways and their functions, etc. The static resources would be shared by all of the other per-branch stacks.
Am I correct to model these two resource sets as at least two separate stacks?
Do I need to somehow map a separate
with my Pulumi code to each of the two sets of stacks?
12/21/2021, 2:22 PM
I think it would be better to have a separate pulumi project for this.
Make sure to make use of
to reuse the code.
12/21/2021, 5:30 PM
Thanks for the feedback @great-sunset-355. Let me see if I understood:
A project for the static infra as a component resource, and then import that into the other stacks?