Remote State
Learn how to work with a remote state in Terraform projects.
Local state vs. remote state
As stated at the start of this chapter, the default storage for a Terraform state is in a local file called terraform.tfstate
. This is fine when working on a local project or for small proof of concepts, but it does not
practically scale beyond that. If you want to work on a Terraform project on more than one machine or with more than one person, then the local state won’t cut it anymore.
Get hands-on with 1400+ tech skills courses.