sparse-intern-71089
05/03/2023, 12:27 AMbrainy-church-78120
05/03/2023, 12:35 AMbrainy-church-78120
05/03/2023, 12:36 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 existswooden-queen-36575
05/03/2023, 12:52 AMdevwooden-queen-36575
05/03/2023, 12:54 AMpulumi stack init project-A-dev it creates a new Pulumi.project-A-dev.yaml filebrainy-church-78120
05/03/2023, 12:59 AMbrainy-church-78120
05/03/2023, 1:00 AMwooden-queen-36575
05/03/2023, 1:01 AMv3.65.1wooden-queen-36575
05/03/2023, 1:03 AMbrainy-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.fierce-ability-58936
05/03/2023, 3:13 AMworried-rain-74420
05/03/2023, 5:20 AMwooden-queen-36575
05/03/2023, 4:05 PMwooden-queen-36575
05/06/2023, 1:56 AMpulumi 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