Since sensitive is ...
 
Notifications
Clear all

Since sensitive is set to true, the value associated with db password will not be present in state file as plain-text?

1 Posts
1 Users
0 Likes
145 Views
(@casausisaiah)
Posts: 710
Noble Member
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

Show Answer Hide Answer

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.
 
Posted : 18/11/2022 7:05 am

Latest TA-002-P V1 Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: