Watch this video on YouTube
Terraform temporarily stores a remote state on the local disk during a state refresh operation, allowing the state to synchronise with the remote backend.