little-cartoon-10569
07/30/2025, 3:26 AMenvironment:
- myproj/mystack
(Note that there's no myOrg, even though the stack is in myOrg.)
My environment, viewed via pulumi env --env myorg/myproj/mystack open
, shows this:
{
"pulumiConfig": {
"oauth": {
"clientid": "x",
"clientsecret": "x"
}
}
}
So I was hoping this would work:
const clientid = new pulumi.Config('oauth').require('clientid');
But I'm getting this error:
error: Missing required configuration variable 'oauth:clientid'
please set a value using the command `pulumi config set oauth:clientid <value>`
red-match-15116
07/30/2025, 3:34 AMvalues:
pulumiConfig:
oauth:clientid: x
oauth:clientsecret: x
From the output it looks like it's current like this:
values:
pulumiConfig:
oauth:
clientid: x
clientsecret: x
red-match-15116
07/30/2025, 3:35 AMlittle-cartoon-10569
07/30/2025, 3:43 AMsilly-country-86708
07/30/2025, 4:28 PMlittle-cartoon-10569
07/30/2025, 8:02 PM