Quiz 9 Question 14 of 20

A child module builds a database connection string from a sensitive password variable and exposes it as output conn_string with sensitive = true. The root module declares output "db_conn" { value = module.db.conn_string }, and terraform plan fails with an error saying the output refers to sensitive values. What is the correct fix?

Select an answer to reveal the explanation.

Motivation