Search⌘ K
AI Features

Effect of a Refresh Action on State

Explore how Terraform's refresh action synchronizes state data with actual infrastructure. Understand how it works during plan and apply stages, the difference between deprecated and current commands, and the importance of approving state updates for accurate infrastructure management.

What is a refresh action?

Data stored in the state needs to reflect the actual state of infrastructure being managed by Terraform. A refresh action examines the attributes of the resources in the target environment ...

...