handsome-truck-9516812/17/2019, 8:00 PM
values in the
? They seem to be not working but I imagine I'm doing it wrong.
values for some of my configuration variables, but when I deploy a stack my script complains that those configuration values with defaults are missing.
section as below?
That is only used by templates currently (
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
), 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
config.get("something") || "defaultValue"
handsome-truck-9516812/17/2019, 8:04 PM
handsome-truck-9516812/17/2019, 8:05 PM
with a new stack