From 5205c63bc9956109638829bd56d99f66e1995304 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Tue, 12 Sep 2017 11:12:23 +0200 Subject: [PATCH] website/docs/backends/types/gcs.html.md: Update. * Remove the (unused) "project" option. * Mark the "credentials" option as optional; document behavior when unset. * Mark the "path" option as deprecated (was: legacy) to match Terraform's terminology. --- website/docs/backends/types/gcs.html.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/website/docs/backends/types/gcs.html.md b/website/docs/backends/types/gcs.html.md index 0a70b4d09..b41770d26 100644 --- a/website/docs/backends/types/gcs.html.md +++ b/website/docs/backends/types/gcs.html.md @@ -17,7 +17,6 @@ Stores the state as an object in a configurable prefix and bucket on [Google Clo ```hcl terraform { backend "gcs" { - project = "myproject" bucket = "tf-state-prod" prefix = "terraform/state" } @@ -30,7 +29,6 @@ terraform { data "terraform_remote_state" "foo" { backend = "gcs" config { - project = "goopro" bucket = "terraform-state" prefix = "prod" } @@ -49,7 +47,8 @@ resource "template_file" "bar" { The following configuration options are supported: - * `bucket` - (Required) The name of the GCS bucket. - * `credentials` / `GOOGLE_CREDENTIALS` - (Required) Local path to Google Cloud Platform account credentials in JSON format. - * `prefix` - (Optional) GCS prefix inside the bucket. Named states are stored in an object called `/.tfstate`. - * `path` - (Legacy) GCS path to the state file of the default state. For backwards compatibility only, use `prefix` instead. + * `bucket` - (Required) The name of the GCS bucket. + * `credentials` / `GOOGLE_CREDENTIALS` - (Optional) Local path to Google Cloud Platform account credentials in JSON format. + If unset, [Google Application Default Credentials](https://developers.google.com/identity/protocols/application-default-credentials) are used. + * `prefix` - (Optional) GCS prefix inside the bucket. Named states are stored in an object called `/.tfstate`. + * `path` - (Deprecated) GCS path to the state file of the default state. For backwards compatibility only, use `prefix` instead.