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

Prepare for the HashiCorp Terraform Associate Exam. Utilize flashcards and multiple-choice questions with detailed hints and explanations. Boost your confidence and be ready for success!

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