From 437b1beb2e4f79114f1653a4d306d685d33259df Mon Sep 17 00:00:00 2001 From: Dana Hoffman Date: Wed, 3 Jan 2018 13:33:58 -0800 Subject: [PATCH] Update project to be optional, add info about zone (#915) --- website/docs/index.html.markdown | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/website/docs/index.html.markdown b/website/docs/index.html.markdown index 0d391282..a4a682de 100644 --- a/website/docs/index.html.markdown +++ b/website/docs/index.html.markdown @@ -60,7 +60,7 @@ The following keys can be used to configure the provider. login`](https://cloud.google.com/sdk/gcloud/reference/auth/application-default/login), the provider will use your identity. -* `project` - (Required) The ID of the project to apply any resources to. This +* `project` - (Optional) The ID of the project to apply any resources to. This can also be specified using any of the following environment variables (listed in order of precedence): @@ -68,13 +68,21 @@ The following keys can be used to configure the provider. * `GCLOUD_PROJECT` * `CLOUDSDK_CORE_PROJECT` -* `region` - (Required) The region to operate under. This can also be specified - using any of the following environment variables (listed in order of +* `region` - (Required) The region to operate under, if not specified by a given resource. + This can also be specified using any of the following environment variables (listed in order of precedence): * `GOOGLE_REGION` * `GCLOUD_REGION` * `CLOUDSDK_COMPUTE_REGION` + +* `zone` - (Optional) The zone to operate under, if not specified by a given resource. + This can also be specified using any of the following environment variables (listed in order of + precedence): + + * `GOOGLE_ZONE` + * `GCLOUD_ZONE` + * `CLOUDSDK_COMPUTE_ZONE` ## Authentication JSON File