This message was deleted.
# general
s
This message was deleted.
w
Yes - but currently only stacks managed by the same backend can use StackReference to reference each other.
d
does ‘same backend’ mean same bucket, or bucket and path?
I’m just trying this out, and currently have
$BUCKET/infra/.pulumi
and
$BUCKET/app/.pulumi
- is StackReference not supported in that layout?
w
Yes - this is something we plan to address as part of https://github.com/pulumi/pulumi/issues/2522.
d
@white-balloon-205 what’s the syntax for the StackReference stack name when using S3? From this ticket it looks like it should be
projectname/stackname
, but it only works for me if it’s just
stackname
https://github.com/pulumi/pulumi/issues/2814
w
Yes - re-reading these issues - I believe you are right that StackReference across stacks in the S3 backend will not work currently until https://github.com/pulumi/pulumi/issues/2522 is addressed.
d
fwiw this is a huge gotcha for the S3 backend - it takes all of this off the table https://www.pulumi.com/docs/intro/concepts/organizing-stacks-projects/#micro-stacks