better-pencil-34948
02/24/2023, 5:34 PMpulumi:pulumi:StackReference (<gs://bucket/account>):
error: Preview failed: unknown stack "account"
billowy-army-68599
02/24/2023, 5:41 PMbetter-pencil-34948
02/24/2023, 5:42 PMbillowy-army-68599
02/24/2023, 5:46 PMbetter-pencil-34948
02/24/2023, 10:23 PMbillowy-army-68599
02/24/2023, 10:24 PMbetter-pencil-34948
02/24/2023, 10:34 PMbucket
, but I'm still getting identical errors. Verbosity doesn't seem to help debug the matter either. I'm not sure how to trace the error beyond the "unknown stack" bit.
stack, err := pulumi.NewStackReference(ctx,
"<gs://bucket/integration/>",
&pulumi.StackReferenceArgs{
Name: pulumi.String("account"),
},
)
billowy-army-68599
02/24/2023, 10:37 PMpulumi login <gs://bucket/integration>
and pulumi login <gs://bucket/foo>
. if so, that won’t workbetter-pencil-34948
02/24/2023, 10:37 PMlogin
, we specify the URL in Pulumi.yaml. And yes, these are different directories.billowy-army-68599
02/24/2023, 10:39 PM<http://integration.dev|integration.dev>
better-pencil-34948
02/24/2023, 10:40 PMbillowy-army-68599
02/24/2023, 10:41 PMThere’s no other solution?Nope, if you don’t store state in the same place you won’t be able to use stack references
better-pencil-34948
02/24/2023, 10:42 PM