Adding note on remote state

This commit is contained in:
Manoj 2016-10-31 23:33:33 +05:30 committed by GitHub
parent c21610f533
commit 0dcd049ba1
1 changed files with 5 additions and 2 deletions

View File

@ -179,8 +179,11 @@ Terraform also puts some state into the `terraform.tfstate` file
by default. This state file is extremely important; it maps various
resource metadata to actual resource IDs so that Terraform knows
what it is managing. This file must be saved and distributed
to anyone who might run Terraform. We recommend simply putting it
into version control, since it generally isn't too large.
to anyone who might run Terraform. This file generally isn't too large,
and for most simple setups, the file might be added to version control along
with rest of the Terraform code. For larger teams, it might be
beneficial to [setup remote state](https://www.terraform.io/docs/state/remote/index.html).
You can inspect the state using `terraform show`: