Q: 3
[Navigate Terraform State and Backends]
A Terraform output that sets the "sensitive" argument to true will not store that value in the state
file.
Options
Discussion
This one's definitely False. Using sensitive = true just hides the output from the CLI, but the actual value still ends up in the Terraform state file. That's why state files need to be secured even if outputs are masked. Pretty sure on this, but correct me if I’m wrong.
False . Sensitive=true only hides the value in CLI but it's still written in the state file. Have seen this trip people up, so be careful with state file security. Someone correct me if that's changed lately.
Seen similar in practice sets, it's False.
Guessing False here. Sensitive=true only hides output in the CLI, state file still has the value. Let me know if you disagree.
False tbh, "sensitive=true" only masks output in CLI, it doesn't block storage in the state file. The state always contains the actual value even if marked sensitive. Unless Hashi changes something, that's how it works.
For me, False. Sensitive just hides the value in CLI outputs, but the actual output is still stored in the state file. Makes sense based on how Terraform manages state behind the scenes. Good question, very clear wording!
False the sensitive option doesn't prevent storage in state, it's just about display in CLI (easy trap!).
False because even with sensitive=true the state file still keeps the value. The flag just changes CLI output, not storage.
That's tricky, but I think it's True. From what I remember, marking an output as sensitive should prevent it from being stored directly in the state file. Maybe there's an exception for remote state though, not totally sure here. Agree?
Would "True" work if sensitive just hides CLI output, not actual state file storage?
Be respectful. No spam.