sparse-intern-71089
06/10/2020, 12:46 PMaverage-receptionist-65239
06/10/2020, 1:15 PM$ pulumi --non-interactive --stack=foo stack
error: no stack named 'foo' found
What are you trying to do?able-beard-29160
06/10/2020, 1:21 PMup
under a specific stack, but some projects don't have certain stacks, so I need to check for the stack presence. For example, I'd like to have one Pulumi project for setting up things in GitLab, but that project will only have a single env/stack: production.
Maybe I'm taking this monorepo idea too far and should have a separate Git repo for the Pulumi project that handles GitLab updates.able-beard-29160
06/10/2020, 1:22 PMaverage-receptionist-65239
06/10/2020, 1:23 PMpulumi stack select --create foo
able-beard-29160
06/10/2020, 1:23 PMable-beard-29160
06/10/2020, 1:24 PMaverage-receptionist-65239
06/10/2020, 1:24 PMable-beard-29160
06/10/2020, 1:25 PMable-beard-29160
06/10/2020, 1:25 PMable-beard-29160
06/10/2020, 1:26 PMable-beard-29160
06/10/2020, 1:26 PMaverage-receptionist-65239
06/10/2020, 1:27 PMable-beard-29160
06/10/2020, 1:27 PMaverage-receptionist-65239
06/10/2020, 1:27 PM