billowy-ocean-41790
03/17/2021, 8:36 PMstringArray
format for cli options such as --config
? We’re trying to wrap up some common things we do in scripts, and one thing that we are having trouble with is passing gcp.project
to pulumi new gcp-typscript
.stringArray
in the docs, and cannot find a definition anywhere.little-cartoon-10569
03/17/2021, 8:37 PMpulumi config set-all
?billowy-ocean-41790
03/17/2021, 8:38 PMpulumi new --config
.gcp:project
.little-cartoon-10569
03/17/2021, 8:40 PMset-all
, it has better examples for config. It should work the same.
https://www.pulumi.com/docs/reference/cli/pulumi_config_set-all/billowy-ocean-41790
03/17/2021, 8:45 PMpulumi new gcp-typescript --config "gcp:project=$project_name"
But it then asks for user input to specifiy gcp:project
.little-cartoon-10569
03/17/2021, 8:47 PMbillowy-ocean-41790
03/17/2021, 8:49 PMgcloud config set project …
before running pulumi new
, or set the $GOOGLE_PROJECT
.