chilly-laptop-44574
03/26/2020, 9:55 AMexport PULUMI_CONFIG_PASSPHRASE=testtest
pulumi new gcp-typescript \
--name 02-host-vpc \
--description "GCP host VPC" \
--stack stage \
--secrets-provider passphrase \
--yes \
--non-interactive \
--force
pulumi config set gcp:project "test"
This creates new project Pulumi.yaml
and Pulumi.stage.yaml
as required but it overwrites my index.ts
file. Is there any way to stop that?
Thanks 😉limited-rainbow-51650
03/26/2020, 10:03 AMindex.ts
but you still need to bootstrap the project? Why is that?chilly-laptop-44574
03/26/2020, 10:09 AMlimited-rainbow-51650
03/26/2020, 10:10 AMPulumi.yaml
) also under source control and only create a new stack non-interactively when you want to roll this out.better-actor-92669
03/26/2020, 10:39 AMchilly-laptop-44574
03/26/2020, 11:26 AMcp
after bootstrapping is done. Is there a way to create a custom template? Perhaps this will be more elegant solution?billowy-army-68599
pulumi new
. The examples are here: https://github.com/pulumi/templates
eg: pulumi new <https://github.com/pulumi/templates/tree/master/kubernetes-python>
chilly-laptop-44574
03/26/2020, 10:09 PM