2017-03-16 20:42:33 +01:00
|
|
|
---
|
2017-04-03 19:53:38 +02:00
|
|
|
layout: "enterprise"
|
2017-03-17 21:55:31 +01:00
|
|
|
page_title: "State: Pushing"
|
|
|
|
sidebar_current: "docs-enterprise-state-pushing"
|
|
|
|
description: |-
|
|
|
|
Pushing remote states.
|
2017-03-16 20:42:33 +01:00
|
|
|
---
|
|
|
|
|
2017-03-17 21:55:31 +01:00
|
|
|
# Pushing Terraform Remote State to Terraform Enterprise
|
2017-03-16 20:42:33 +01:00
|
|
|
|
2017-03-17 21:55:31 +01:00
|
|
|
Terraform Enterprise is one of a few options to store [remote state](/docs/enterprise/state).
|
2017-03-16 20:42:33 +01:00
|
|
|
|
|
|
|
Remote state gives you the ability to version and collaborate on Terraform changes. It
|
|
|
|
stores information about the changes Terraform makes based on configuration.
|
|
|
|
|
2017-03-17 21:55:31 +01:00
|
|
|
To use Terraform Enterprise to store remote state, you'll first need to have the
|
2017-03-16 20:42:33 +01:00
|
|
|
`ATLAS_TOKEN` environment variable set and run the following command.
|
|
|
|
|
|
|
|
$ terraform remote config -backend-config="name=%{DEFAULT_USERNAME}/product"
|