https://pulumi.com logo
#general
Title
# general
f

faint-ambulance-18922

10/28/2021, 9:03 PM
does anyone know how can i reference the default config values set in the pulumi.<project>.yaml inside the code? i want to set the default gcpproject as the one specified in the initial configuration file as a function parameter so it’s optional:
Copy code
pulumi config set gcp:project test
let config = new pulumi.Config();
let defaultGCPProject = config.require("gcp:project");
doesn’t work.