You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe this same issue exists when set_sensitive is used to set the value of a list item, for example in our case we're trying to set a sensitive password for the NATS helm chart:
resource"helm_release""nats" {
name="nats"repository="https://nats-io.github.io/k8s/helm/charts/"chart="nats"namespace=var.namespaceset {
name ="config.merge.accounts.SYS.users[0].user"
value ="administrator"
}
set_sensitive {
name="config.merge.accounts.SYS.users[0].pass"value=local.sys_admin_password_enc
}
set_sensitive {
name="test.test"value="2"
}
}
This syntax works (list item rendered correctly in final values passed to helm), and our test.test value is redacted properly when changed, but config.merge.accounts.SYS.users[0].pass is not redacted when changed.
This is very frustrating, this combined with #1287 makes it very hard to hide sensitive details in complex data structures from the output using this module.
Terraform, Provider, Kubernetes and Helm Versions
Affected Resource(s)
Terraform Configuration Files
Debug Output
NOTE: In addition to Terraform debugging, please set HELM_DEBUG=1 to enable debugging info from helm.
Panic Output
Steps to Reproduce
terraform apply
Expected Behavior
The metadata displayed in terraform plan should have redacted the sensitive value and displayed "(sensitive value)"
Actual Behavior
The metadata displays the sensitive value in clear text
Important Factoids
The issue does not appear when there is no backslash in the key name.
References
Community Note
The text was updated successfully, but these errors were encountered: