HashiCorp Certified: Terraform Associate — Question 295
A Terraform output that sets the "sensitive" argument to true will not store that value in the state file.
Answer options
- A. True
- B. False
Correct answer: B
Explanation
The correct answer is B because setting the 'sensitive' argument to true in a Terraform output does not prevent the value from being stored in the state file; it merely prevents the value from being displayed in command outputs. Option A is incorrect as the value is still recorded in the state for use in the configuration.