handsome-xylophone-18806
10/19/2019, 11:48 AMfile://~
for all projects and run pulumi up
for company
project then department
project, Pulumi will delete the company
stack and create stack for department
.
If using Pulumi Backend Service, this statement works:
new pulumi.StackReference('clstokes/aws-ts-stackreference-company/dev')
where clstokes
in the example is the Pulumi Backend Service username, aws-ts-stackreference-company
is the project name and dev
is the current stack.
If I set backend url, so each project has a separated .pulumi
at it's root directory
Pulumi.yaml
backend:
url: file://./
Now, how can I get the stack reference of company
or department
in team
project: new pulumi.StackReference('???')
?
new pulumi.StackReference('clstokes/aws-ts-stackreference-company/dev')
will produces error:
pulumi:pulumi:StackReference (clstokes/aws-ts-stackreference-company/dev):
error: Preview failed: unknown stack "clstokes/aws-ts-stackreference-company/dev"