11/10/2021, 3:21 PM
For storing state file of my pulumi stack I am using s3 bucket. Should I use single s3 bucket for all stacks/env? or should I create 3 different buckets for state file of 3 different stacks? Which is better/preferred? Our aim it to keep state file of different env as isolated as possible. Please suggest.


11/10/2021, 8:23 PM
Now that you can get Pulumi to lock state during deployments, it is best to use one URL for all projects that are able to access each other via StackReference.
There is a risk of collision when two projects share a single unlocked backend (S3 bucket URL), but that's mitigated by Pulumi's locking.
And you cannot use StackReferences between projects with different backend URLs.


11/12/2021, 9:48 AM
thanks @little-cartoon-10569, We have decided to go with different bucket for different stack/env