Terraform unsensitive
Vidyasagar SC Machupalli
Posted on May 19, 2021
For every sensitive=true
in Terraform, there is a nonsensitive function...
variable "password" {
type = string
description = "Password"
sensitive = true
}
nonsensitive takes a sensitive value and returns a copy of that value with the sensitive marking removed, thereby exposing the sensitive value.
output "sensitive_password" {
value = nonsensitive(var.password)
}
The nonsensitive function removes the sensitive marking from a value that Terraform considers to be sensitive.
Note: The nosensitive function is only available in #Terraform v0.14 and later.
💖 💪 🙅 🚩
Vidyasagar SC Machupalli
Posted on May 19, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.