Terraform

How terraform apply workflow is different when a remote backend is used?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

It starts with acquiring a state lock so others can't modify the state at the same time. The apply will also download the latest state snapshot before planning and upload the updated state atomically after the run completes.