clever-address-74879
06/07/2022, 9:18 PMmysql:admin-password
in my Pulumi.test.yml
and then I do _config = new Pulumi.Config();
. But when I try to fetch it with _config.RequireSecret("mysql:admin-password")
it throws Pulumi.Config+ConfigMissingException: Missing Required configuration variable 'bigday:mysql:admin-password'
little-cartoon-10569
06/07/2022, 9:25 PMnew Config()
. The bit after the (last) colon is require/get parameter_config = new Pulumi.Config("mysql")
_config.RequireSecret("admin-password")
new Config()
, it's implicitly adding the project name. For any other prefix / namespace, you have to provide it as the parameter to new Config()
.clever-address-74879
06/07/2022, 9:28 PMvar config = new Pulumi.Config("mysql");
_config.RequireSecret("admin-password")
➜ pulumi config
KEY VALUE
azure-native:location westeurope
mysql:admin-password [secret]
Pulumi.Config+ConfigMissingException: Missing Required configuration variable 'bigday:admin-password'
please set a value using the commandpulumi config set bigday:admin-password <value>