2017-03-16 20:42:33 +01:00
|
|
|
---
|
2017-04-03 19:53:38 +02:00
|
|
|
layout: "enterprise"
|
2017-04-07 06:00:59 +02:00
|
|
|
page_title: "State - Terraform Enterprise"
|
2017-03-17 21:55:31 +01:00
|
|
|
sidebar_current: "docs-enterprise-state"
|
|
|
|
description: |-
|
|
|
|
Terraform stores the state of your managed infrastructure from the last time Terraform was run. This section is about states.
|
2017-03-16 20:42:33 +01:00
|
|
|
---
|
|
|
|
|
2017-04-07 06:00:59 +02:00
|
|
|
# State
|
2017-03-16 20:42:33 +01:00
|
|
|
|
2017-04-07 06:00:59 +02:00
|
|
|
Terraform stores the state of your managed infrastructure from the last time
|
|
|
|
Terraform was run. By default this state is stored in a local file named
|
|
|
|
`terraform.tfstate`, but it can also be stored remotely, which works better in a
|
|
|
|
team environment.
|
2017-03-16 20:42:33 +01:00
|
|
|
|
2017-04-07 06:00:59 +02:00
|
|
|
Terraform Enterprise is a remote state provider, allowing you to store, version
|
|
|
|
and collaborate on states.
|
2017-03-16 20:42:33 +01:00
|
|
|
|
2017-04-07 06:00:59 +02:00
|
|
|
Remote state gives you more than just easier version control and safer storage.
|
|
|
|
It also allows you to delegate the outputs to other teams. This allows your
|
|
|
|
infrastructure to be more easily broken down into components that multiple teams
|
|
|
|
can access.
|
2017-03-16 20:42:33 +01:00
|
|
|
|
2017-03-20 19:44:03 +01:00
|
|
|
Read [more about remote state](https://www.terraform.io/docs/state/remote.html).
|