Terraform variables and outputs that set the 'description' argument will store that description in the state file.

Prepare for the HashiCorp Terraform Associate Exam with quizzes, flashcards, and multiple-choice questions. Each question includes hints and explanations. Boost your confidence and ace your exam!

Multiple Choice

Terraform variables and outputs that set the 'description' argument will store that description in the state file.

Explanation:
Descriptions on variables and outputs are documentation metadata, not runtime data Terraform needs to manage. The state file tracks actual resource attributes and the values of outputs as of the last apply, but it does not store descriptive text. The description fields live in the configuration for human readers and tooling, not in the persisted state. So setting a description does not cause that description to be saved in the state file.

Descriptions on variables and outputs are documentation metadata, not runtime data Terraform needs to manage. The state file tracks actual resource attributes and the values of outputs as of the last apply, but it does not store descriptive text. The description fields live in the configuration for human readers and tooling, not in the persisted state. So setting a description does not cause that description to be saved in the state file.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy