millions-journalist-34868
09/22/2024, 11:02 PMadditionalSecretOutputs
Pulumi env :
{
"nuxtUI": {
"licenceKey": "[secret]"
},
"pulumiConfig": {
"nuxt.UIProLicenseKey": "[secret]"
}
}
Infrastructure code :
const config = new Config()
const nuxtUIKey = config.require("nuxt.UIProLicenseKey")
new netlify.EnvironmentVariable("nuxtUIKeyEnvVar", {
siteId: blog.id,
key: "NUXT_UI_PRO_LICENSE",
values: [{
value: nuxtUIKey,
context: "all"
}]
})
I would have expect "values" to be encryptedred-match-15116
09/23/2024, 3:47 AMconfig.requireSecret
instead of config.require
Relevant bit in the docs: https://www.pulumi.com/docs/iac/concepts/secrets/#using-configuration-and-secrets-in-code:~:text=[…]s%20almost%20certainly%20not%20what%20you%20wantmillions-journalist-34868
09/24/2024, 7:05 AMmillions-journalist-34868
09/24/2024, 7:05 AM