From 8cee4eb12b6cf72c959d431fb5723c237c5a6b80 Mon Sep 17 00:00:00 2001 From: Maciej Skierkowski Date: Fri, 28 Apr 2017 10:52:59 -0700 Subject: [PATCH] Adding a deprecation warning on 'terraform remote config' command --- .../docs/enterprise/state/pushing.html.md | 25 +++++++++++++++++++ website/source/layouts/enterprise.erb | 3 +++ 2 files changed, 28 insertions(+) create mode 100644 website/source/docs/enterprise/state/pushing.html.md diff --git a/website/source/docs/enterprise/state/pushing.html.md b/website/source/docs/enterprise/state/pushing.html.md new file mode 100644 index 000000000..ad058d144 --- /dev/null +++ b/website/source/docs/enterprise/state/pushing.html.md @@ -0,0 +1,25 @@ +--- +layout: "enterprise" +page_title: "Pushing - State - Terraform Enterprise" +sidebar_current: "docs-enterprise-state-pushing" +description: |- + Pushing remote states. +--- + +# Pushing Terraform Remote State to Terraform Enterprise + +Terraform Enterprise is one of a few options to store [remote state](/docs/enterprise/state). + +Remote state gives you the ability to version and collaborate on Terraform +changes. It stores information about the changes Terraform makes based on +configuration. + +To use Terraform Enterprise to store remote state, you'll first need to have the +`ATLAS_TOKEN` environment variable set and run the following command. + +**NOTE:** `terraform remote config` command has been deprecated in 0.9.X. Remote configuration is now managed as a [backend configuration](/docs/backends/config.html). + +```shell +$ terraform remote config \ + -backend-config="name=$USERNAME/product" +``` \ No newline at end of file diff --git a/website/source/layouts/enterprise.erb b/website/source/layouts/enterprise.erb index 3aaf4cc1d..188a66a38 100644 --- a/website/source/layouts/enterprise.erb +++ b/website/source/layouts/enterprise.erb @@ -79,6 +79,9 @@ > State