DLT Labs
Published in

DLT Labs

Remote state and Locking using Terraform

Before diving into the subject of “Remote State”, let's ask a fundamental/basic question!

We use Terraform to create, update or destroy our resources in the cloud (AWS). But how did Terraform know which resources it had been alleged to manage?

The answer is “terraform. tfstate”. Think “Terraform. tfstate” file as a database to Terraform, where Terraform keeps a map of…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store