Exam Terraform-Associate-003 Topic 4 Question 101 Discussion
Actual exam question for HashiCorp's Terraform-Associate-003 exam
Question #: 101
Topic #: 4
Question #: 101
Topic #: 4
A Terraform output that sets the "sensitive" argument to true will not store that value in the state file.
Suggested Answer: A Vote an answer
A Terraform output that sets the "sensitive" argument to true will store that value in the state file. The purpose of setting sensitive = true is to prevent the value from being displayed in the CLI output during terraform plan and terraform apply, and to mask it in the Terraform UI. However, it does not affect the storage of the value in the state file. Sensitive outputs are still written to the state file to ensure that Terraform can manage resources correctly during subsequent operations.
References:
Terraform documentation on sensitive outputs: Terraform Output Values
References:
Terraform documentation on sensitive outputs: Terraform Output Values
by Ralap at May 06, 2026, 08:02 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).