-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Sensitive inputs are visible in terminal #29609
Copy link
Copy link
Closed
Labels
Description
Terraform Version
terraform version
Terraform v1.0.7
on linux_amd64
Terraform Configuration Files
variable "secret" {
sensitive = true
}
variable "plain" {
sensitive = false
}Debug Output
terraform plan
var.plain
Enter a value: plain-value
var.secret
Enter a value: secret-value
No changes. Your infrastructure matches the configuration.
Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are
needed.
Crash Output
Expected Behavior
Input for sensitive variables should be masked
Actual Behavior
When value for sensitive variable is given it is visible on console.
Steps to Reproduce
Additional Context
References
I would be happy to prepare fix for it.
Reactions are currently unavailable