sparse-intern-71089
01/25/2019, 9:36 PMwhite-balloon-205
Pulumi.yaml
currently. Instead, you just put the defaults in code:
const config = new pulumi.Config();
const myconfigvalue = config.get("myconfigvalue") || "helloworld";
red-lamp-97876
01/25/2019, 10:28 PMwhite-balloon-205
project-wide configurationsNote that the code above does accomplish "project-wide configurations". Just like all the other default behaviour of the project is defined in the code. That said, there is a documentation benefit to specifiying what configuration (from outside the code) is allowed, and what defaults will be used in case that configuration is not provided. We're tracking this generally in https://github.com/pulumi/pulumi/issues/1052.
red-lamp-97876
01/25/2019, 10:43 PMwhite-balloon-205