https://pulumi.com logo
#general
Title
# general
s

steep-beach-52652

02/23/2022, 8:48 PM
can we deploy the same pulumi stack with same state to different aws regions in the same aws account? or do we need to create a seprate stack and state backend for each region?
m

modern-quill-17695

02/23/2022, 8:56 PM
Is it part of the same "application"? If so, can you loop the creation of resources in the stack? List the regions in config and deploy the same resources to each region as part of that one stack
l

little-cartoon-10569

02/23/2022, 9:01 PM
You can create resources in difference regions using manually-created providers. If you want to use only default providers, then you'll need to use different stacks. Generally, if this is "base" infrastructure and must exist in multiple regions, then a single "base" stack is suitable.
s

steep-beach-52652

02/23/2022, 9:26 PM
those are ecs containers with cloudmap service discovery and alb etc.
yes, its an appslication stack that i want to deploy to two regions
5 Views