sparse-intern-71089
07/12/2022, 3:00 PMmammoth-electrician-64525
07/12/2022, 3:06 PMcold-toothbrush-60276
07/12/2022, 3:08 PMcold-toothbrush-60276
07/12/2022, 3:08 PM<organization>/<project>/<stack>
relate to a bucket object?cold-toothbrush-60276
07/12/2022, 3:09 PMmammoth-electrician-64525
07/12/2022, 3:14 PMmammoth-electrician-64525
07/12/2022, 3:16 PMpulumi.StackRefrence
is: https://github.com/pulumi/pulumi/issues/2208#issuecomment-439091128cold-toothbrush-60276
07/12/2022, 3:18 PMvictorious-church-57397
07/12/2022, 3:46 PMPULUMI_BACKEND_URL
. To be the url to your bucket eg <s3://my-backend-bucket/>
and then you can use stackReference to reference any of the stacks that use that bucket by doing something like
const networkingStack = new pulumi.StackReference('networking');
const vpcId = networkingStack.requireOutput('vpcId');
victorious-church-57397
07/12/2022, 3:50 PMcold-toothbrush-60276
07/12/2022, 3:52 PMvictorious-church-57397
07/12/2022, 3:53 PMcold-toothbrush-60276
07/12/2022, 3:53 PMvictorious-church-57397
07/12/2022, 3:54 PMcold-toothbrush-60276
07/12/2022, 3:57 PMvictorious-church-57397
07/12/2022, 3:58 PMwitty-candle-66007
07/12/2022, 6:04 PMcold-toothbrush-60276
07/12/2022, 7:05 PMcold-toothbrush-60276
07/12/2022, 7:05 PMwitty-candle-66007
07/12/2022, 8:20 PMlittle-cartoon-10569
07/12/2022, 9:21 PMlittle-cartoon-10569
07/12/2022, 9:22 PMcold-toothbrush-60276
07/13/2022, 8:34 AMwitty-candle-66007
07/13/2022, 11:26 AMcold-toothbrush-60276
07/14/2022, 8:08 AMpulumi login <s3://bucket/projectA>
then we do a pulumi stack select staging
to ensure we chose the staging stack and continue to perform our pulumi workflow on that stack.
Now we need to use projectB; we do a pulumi login <s3://bucket/projectB>
etc. pp.
Now if projectB needs to reference an output in projectA it currently is not possible…mammoth-electrician-64525
07/14/2022, 8:34 AMcold-toothbrush-60276
07/14/2022, 8:39 AMlittle-cartoon-10569
07/14/2022, 10:13 AMcold-toothbrush-60276
07/14/2022, 11:10 AMcold-toothbrush-60276
07/14/2022, 11:10 AMlittle-cartoon-10569
07/14/2022, 7:41 PM