From 3538f832b0fb5c88f070b8d494f8930153d8ed27 Mon Sep 17 00:00:00 2001 From: Kevin Fishner Date: Tue, 5 Dec 2017 11:34:05 -0800 Subject: [PATCH] website: update "atlas" backend to recommend using ATLAS_TOKEN environment variable --- website/docs/backends/types/terraform-enterprise.html.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/website/docs/backends/types/terraform-enterprise.html.md b/website/docs/backends/types/terraform-enterprise.html.md index e9f2ad08a..c9bc8801c 100644 --- a/website/docs/backends/types/terraform-enterprise.html.md +++ b/website/docs/backends/types/terraform-enterprise.html.md @@ -12,8 +12,8 @@ description: |- Stores the state in [Terraform Enterprise](https://www.terraform.io/docs/providers/index.html). -You can create a new environment in the -Environments section and generate new token in the Tokens page under Settings. +You can create a new workspace in the +Workspaces section and generate new token in the Tokens page under Settings. ~> **Why is this called "atlas"?** Atlas was previously a commercial offering from HashiCorp that included a full suite of enterprise products. The products @@ -27,7 +27,6 @@ Enterprise**. While this transition is in progress, you may see references to terraform { backend "atlas" { name = "bigbang/example" - access_token = "foo" } } ``` @@ -42,7 +41,6 @@ data "terraform_remote_state" "foo" { backend = "atlas" config { name = "bigbang/example" - access_token = "X2iTFefU5aWOjg.atlasv1.YaDa" } } ``` @@ -52,5 +50,5 @@ data "terraform_remote_state" "foo" { The following configuration options / environment variables are supported: * `name` - (Required) Full name of the environment (`/`) - * `access_token` / `ATLAS_TOKEN` - (Required) Terraform Enterprise API token + * `ATLAS_TOKEN`/ `access_token` - (Required) Terraform Enterprise API token. It is recommended that `ATLAS_TOKEN` is set as an environment variable rather than using `access_token` in the configuration. * `address` - (Optional) Address to alternative Terraform Enterprise location (Terraform Enterprise endpoint)