https://pulumi.com logo
Title
b

better-zoo-17970

09/16/2021, 4:54 PM
What is the template: config: used for inside the pulumi.yaml file? I added a few values in there, that are not part of the config, but still complaining that they dont exist. I want to use the default value unless given one
b

brave-planet-10645

09/17/2021, 10:27 AM
The configs are set as part of the stack config (so
Pulumi.{stackname}.yaml
) - the config in the main
Pulumi.yaml
file are for defaults. You can set config by running
pulumi config set {key} {value}
which will write them to the stack config file
b

better-zoo-17970

09/17/2021, 4:49 PM
“the config in the main 
Pulumi.yaml
 file are for defaults.” but those defaults are never used? how do i use the defaults? do i need to enter a empty config in Pulumi.{stackname}.yaml ?
@brave-planet-10645
b

brave-planet-10645

09/20/2021, 11:30 AM
If you do
pulumi config set {key} {value}
then Pulumi will automatically create the stack config file