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-27 00:51:25 +02:00
|
|
|
Terraform Enterprise stores the state of your managed infrastructure from the
|
|
|
|
last time Terraform was run. The state is stored remotely, which works better in a
|
|
|
|
team environment, allowing you to store, version and collaborate on state.
|
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-04-27 00:51:25 +02:00
|
|
|
Remote state is automatically updated when you run [`apply`](/docs/commands/apply.html)
|
|
|
|
locally. It is also updated when an `apply` is executed in a [Terraform Enterprise
|
|
|
|
Run](/docs/enterprise/runs/index.html).
|
|
|
|
|
|
|
|
Read [more about remote state](/docs/state/remote.html).
|