https://pulumi.com logo
#aws
Title
# aws
t

tall-photographer-1935

08/09/2022, 5:05 PM
When doing a
StackReference
for an s3 bucket, how do you reference the other stack? I have an example where i have one bucket but two folders: s3://bucket/vpc/.pulumi/stacks/ s3://bucket/kubernetes/.pulumi/stacks/ I want to reference the outputs from the vpc folder in my kubernetes folder code. I've tried various ways, mostly like:
network_stack_ref = pulumi.StackReference("vpc/dev_vpc")
with no luck
b

billowy-army-68599

08/09/2022, 5:11 PM
you can’t at this time. all the projects need to be in the same directory
t

tall-photographer-1935

08/09/2022, 5:12 PM
makes sense. thank you!
8 Views