values for some of my configuration variables, but when I deploy a stack my script complains that those configuration values with defaults are missing.
w
white-balloon-205
12/17/2019, 8:04 PM
Do you mean the
template:
section as below?
Copy code
name: aws-go-s3-folder
runtime: go
description: A static website hosted on AWS S3
template:
config:
aws:region:
description: The AWS region to deploy into
default: us-west-2
That is only used by templates currently (
pulumi new
), it is not project level configuration. We are considering proving a way to provide declarative project config (see for example https://github.com/pulumi/pulumi/issues/1052#issuecomment-374255486). But today, project level config defaults should be added to the code with something like
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.