When using the code shown below, the stack state stores SECRET_ENV_VAR in plain text despite the value being marked as a secret. One, in the resource inputs and two, in the resource outputs.
CLI
Version 3.129.0
Go Version go1.22.6
Go Compiler gc
Plugins
KIND NAME VERSION
resource pulumiservice 0.23.1
language python unknown
Host
OS debian
Version 12.6
Arch x86_64
This project is written in python: executable='/home/aureq/work/customers/zendesk/5662/venv/bin/python' version='3.11.9'
Current Stack: menfin/zendesk/9999
TYPE URN
pulumi:pulumi:Stack urn:pulumi:9999::zendesk::pulumi:pulumi:Stack::zendesk-9999
pulumi:providers:pulumiservice urn:pulumi:9999::zendesk::pulumi:providers:pulumiservice::default_0_23_1
pulumiservice:index:DeploymentSettings urn:pulumi:9999::zendesk::pulumiservice:index:DeploymentSettings::deployment-settings
Found no pending operations associated with 9999
Backend
Name pulumi.com
URL https://app.pulumi.com/aureq
User aureq
Organizations aureq, team-ce, menfin, menfin-team, demo
Token type personal
Dependencies:
NAME VERSION
pip 24.2
pulumi-pulumiservice 0.23.1
setuptools 72.2.0
wheel 0.44.0
Pulumi locates its logs in /tmp by default
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
Thank you for finding and bringing this up!
Fixed and released a new version, please update to 0.23.2 and secrets will work in Deployment Settings again.
What happened?
When using the code shown below, the stack state stores
SECRET_ENV_VAR
in plain text despite the value being marked as a secret. One, in the resourceinputs
and two, in the resourceoutputs
.Example
State
Output of
pulumi about
Additional context
Related to https://github.com/pulumi/pulumi-pulumiservice/issues/376
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).