able-ability-11203
10/11/2022, 5:35 PMfile://~
), both having the same sets of stacks (like dev
). But when doing pulumi stack init dev
at the second project. Pulumi tells me that stack dev
already exists. My structure is like depicted here (as in docs).limited-rainbow-51650
10/11/2022, 5:40 PMable-ability-11203
10/11/2022, 5:44 PMPULUMI_BACKEND_URL=file:///tmp/1 pulumi stack ls
PULUMI_BACKEND_URL=file:///tmp/2 pulumi stack ls
billowy-army-68599
10/11/2022, 5:46 PMpulumi stack init <http://myApp.dev|myApp.dev>
pulumi stakc init <http://infrastructure.dev|infrastructure.dev>
mammoth-agency-10350
10/11/2022, 5:46 PM<project>.<stack>
so <http://infrastructure.dev|infrastructure.dev>
, infrastructure.prod
would be what I would use.
Although you could isolate projects to different backends, if you'd like to consume stack outputs from one stack in another, you'll need to use the same backend for both.able-ability-11203
10/11/2022, 5:55 PMdev.infra
<http://dev.app|dev.app>
prod.infra
<http://prod.app|prod.app>
?
To quickly tell envs from one another.billowy-army-68599
10/11/2022, 5:57 PMable-ability-11203
10/11/2022, 5:58 PM