$ ./guess_the_languageDevOps
DevOps · hard · #268

Where can this output's value still be read in plain text?

output "db_password" {
  value     = random_password.db.result
  sensitive = true
}
  1. In the Terraform state file
  2. In the plan's console output
  3. In every apply log in CI
  4. Nowhere; it is encrypted
sensitive only redacts the value in CLI output; state stores it unencrypted, which is why state needs encrypted, access-controlled storage.
Play DevOps ▸