Hello
I am trying to setup something using pulumi, i've used it a few times in the past, but I think i want something simple that it seems it's not doable using a selfhosted state backend.
The goal is to have multple stacks (dev, staging, prod) and a tooling stack.
dev and staging will share the same AWS account, and production a different one.
We need some stack reference between prod and dev.
But it seems we can't reference a stack if they are stored in a differente account/s3 then your current state file.
Is there any workarround on this?
The "best" workaround i can think of is to have a single state backend on s3, but that s3 be separated from the actual accounts, and all other accounts/iam would have access to this bucket.
So I would have an account only to store the states for all stacks and different accounts.
What am i missing? I did search some github issues and this indeed seems to be the case, but i am not 100% sure.