limited-rain-96205
11/20/2019, 1:06 AMpulumi new --help
, we should use `--stack`:
-s, --stack string The stack name; either an existing stack or stack to create; if not specified, a prompt will request it
However, if I do that with an existing stack, it gives an error:
$ pulumi new -n p3 --stack dev
Please choose a template: gcp-typescript A minimal Google Cloud TypeScript Pulumi program
This command will walk you through creating a new Pulumi project.
Enter a value or leave blank to accept the (default), and press <ENTER>.
Press ^C at any time to quit.
project description: (A minimal Google Cloud TypeScript Pulumi program)
Created project 'p3'
Enter your passphrase to protect config/secrets:
Re-enter your passphrase to confirm:
error: stack 'dev' already exists
white-balloon-205
limited-rain-96205
11/20/2019, 3:10 AMwhite-balloon-205
<project>-<stack>
as the stack name.limited-rain-96205
11/20/2019, 3:44 AM