What is not processed when running a Terraform refresh?

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

What is not processed when running a Terraform refresh?

Explanation:
During a refresh, Terraform focuses on aligning the real infrastructure with what’s recorded in the state. It uses the configured provider (via credentials) to query the cloud provider about each managed resource and then updates the state file with the latest attributes. The Terraform configuration blocks themselves aren’t read or applied in this step. They’re used for planning and applying changes, not for refreshing the current state. So, the Terraform configuration file is not processed during a refresh.

During a refresh, Terraform focuses on aligning the real infrastructure with what’s recorded in the state. It uses the configured provider (via credentials) to query the cloud provider about each managed resource and then updates the state file with the latest attributes. The Terraform configuration blocks themselves aren’t read or applied in this step. They’re used for planning and applying changes, not for refreshing the current state. So, the Terraform configuration file is not processed during a refresh.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy