refined-photographer-38383
04/12/2023, 6:16 PMpulumi stack init
it doesn't use the defaults. I would have hoped that it would ask me about each config in the template and hitting enter uses the default. How does one configure a new stack interactively?little-cartoon-10569
04/12/2023, 8:55 PMconfig:
section of Pulumi.yaml?refined-photographer-38383
04/12/2023, 8:56 PMname: base
runtime: nodejs
description: The infrastructure base, includes DB, Service Account, and certificate configuration.
template:
description: Environment stack for utilize the base infra project.
config:
gcp:project:
description: The GCP Project for this stack.
default: prime-dev-374422
region:
description: The GCP region for which to deploy, this get's inherited by stacks further down the tree.
default: us-east4
secret: false
little-cartoon-10569
04/12/2023, 8:58 PMnew
is the only way to go, and new
isn't really for stacks. Confusing. I think the docs need more examples.pulumi new
to create a stack in the current project. Have you used the --stack
option?refined-photographer-38383
04/12/2023, 9:07 PMpulumi stack init --copy-config-from
little-cartoon-10569
04/12/2023, 9:09 PMtemplate:
project option. It sounds like it needs better docs (like not saying it works with pulumi new
), and it needs to work with stack init
.