sparse-intern-71089
07/06/2020, 5:09 PMdazzling-sundown-39670
07/06/2020, 5:11 PMexport const subdomain = config.get('subdomain') || 'm2';
Without the last part it's just undefined (unless I define it in the Pulumi.foo.yaml
)white-balloon-205
template
section). pulumi new
when processing a template that includes a Pulumi.yaml
like this will present the default value as the default in the wizard. But this section will be removed from the actually created project.
Adding support for declarative config (which might be what you were expecting this to do) is being tracked in https://github.com/pulumi/pulumi/issues/1052.dazzling-sundown-39670
07/07/2020, 8:21 AM