Notifications
Clear all
Topic starter
Refer to the below code where developer is outputting the value of the database password but has used sensitive parameter to hide the output value in the CLI.
output "db_password" { value = aws_db_instance.db.password description = "The password for logging in to the database." sensitive = true}
Since sensitive is set to true, the value associated with db password will not be present in state file as plain-text?
- A . False
B. True
Suggested Answer: A
Explanation:
Sensitive output values are still recorded in the state, and so will be visible to anyone who is able to access the state data.
Explanation:
Sensitive output values are still recorded in the state, and so will be visible to anyone who is able to access the state data.
Posted : 18/11/2022 7:05 am