wooden-queen-36575
05/03/2023, 12:27 AMPulumi.<env>.yaml
files. But, if I do something like, pulumi stack init dev
, say without one of these Pulumi.xxx.yaml
files in place, it would generate a file called Pulumi.dev.yaml
, and a stack called dev
. Then, if I attempt this in another project folder, it can't create the stack because there is already a stack named dev
. There is no --config-file
parameter on the stack init
command, so I can't do something like, pulumi stack init <project>-<env> --config-file Pulumi.dev.yaml
brainy-church-78120
05/03/2023, 12:35 AMwooden-queen-36575
05/03/2023, 12:43 AMpulumi
commands to work with those repo layouts, things sorta break down for me. If I go in to one folder and do pulumi stack init dev
it uses the Pulumi.dev.yaml
file, and creates a stack called dev
. If I go in to another folder, also with a Pulumi.dev.yaml
file, how can I do another pulumi stack init dev
as there is already a stack called dev
?brainy-church-78120
05/03/2023, 12:47 AMwooden-queen-36575
05/03/2023, 12:51 AM|-projects
|-project-A
|- Pulumi.yaml
|- Pulumi.dev.yaml
|-project-B
|- Pulumi.yaml
|- Pulumi.dev.yaml
If I run pulumi stack init dev
in projects/project-A
, I get a stack called dev
. If I go to projects/project-B
and run pulumi stack init dev
, I get error: stack 'dev' already exists
dev
pulumi stack init project-A-dev
it creates a new Pulumi.project-A-dev.yaml
filebrainy-church-78120
05/03/2023, 12:59 AMwooden-queen-36575
05/03/2023, 1:01 AMv3.65.1
brainy-church-78120
05/03/2023, 1:03 AMwooden-queen-36575
05/03/2023, 1:10 AMpulumi login --local
for integration testing in CI with localstack.fierce-ability-58936
05/03/2023, 3:12 AM....
backend:
url: <backend-url>
....
I never do pulumi login
as it differs between people. I just have it set in the config so it's the same for everyone.worried-rain-74420
05/03/2023, 5:20 AMwooden-queen-36575
05/03/2023, 4:05 PMpulumi stack init dev
in a different project folder, it returns error: stack 'dev' already exists
. I have tried completely clearing out my local state, including my ~/.pulumi
folder, hoping that the local file backend will be upgraded to use the new mechanism.brainy-church-78120
05/06/2023, 2:02 AMworried-rain-74420
05/06/2023, 2:47 AMwooden-queen-36575
05/06/2023, 3:37 AM