terraform/website/source/docs/enterprise/state/pushing.html.md

24 lines
729 B
Markdown
Raw Normal View History

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: "Pushing - State - Terraform Enterprise"
2017-03-17 21:55:31 +01:00
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
2017-04-07 06:00:59 +02: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-16 20:42:33 +01:00
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.
2017-04-07 06:00:59 +02:00
```shell
$ terraform remote config \
-backend-config="name=$USERNAME/product"
```