mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-04 17:51:11 +00:00
Update project to be optional, add info about zone (#915)
This commit is contained in:
parent
1cd80dcaa0
commit
437b1beb2e
@ -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),
|
login`](https://cloud.google.com/sdk/gcloud/reference/auth/application-default/login),
|
||||||
the provider will use your identity.
|
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
|
can also be specified using any of the following environment variables (listed
|
||||||
in order of precedence):
|
in order of precedence):
|
||||||
|
|
||||||
@ -68,13 +68,21 @@ The following keys can be used to configure the provider.
|
|||||||
* `GCLOUD_PROJECT`
|
* `GCLOUD_PROJECT`
|
||||||
* `CLOUDSDK_CORE_PROJECT`
|
* `CLOUDSDK_CORE_PROJECT`
|
||||||
|
|
||||||
* `region` - (Required) The region to operate under. This can also be specified
|
* `region` - (Required) The region to operate under, if not specified by a given resource.
|
||||||
using any of the following environment variables (listed in order of
|
This can also be specified using any of the following environment variables (listed in order of
|
||||||
precedence):
|
precedence):
|
||||||
|
|
||||||
* `GOOGLE_REGION`
|
* `GOOGLE_REGION`
|
||||||
* `GCLOUD_REGION`
|
* `GCLOUD_REGION`
|
||||||
* `CLOUDSDK_COMPUTE_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
|
## Authentication JSON File
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user