mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-06 10:41:07 +00:00
Make GCP provider "project" attribute optional
This commit is contained in:
parent
54252fcf81
commit
5ca2872300
@ -42,12 +42,15 @@ The following keys can be used to configure the provider.
|
|||||||
can also be specified with the `GOOGLE_CREDENTIALS` or `GOOGLE_CLOUD_KEYFILE_JSON`
|
can also be specified with the `GOOGLE_CREDENTIALS` or `GOOGLE_CLOUD_KEYFILE_JSON`
|
||||||
shell environment variable, containing the contents of the credentials file.
|
shell environment variable, containing the contents of the credentials file.
|
||||||
|
|
||||||
* `project` - (Required) The ID of the project to apply any resources to. This
|
|
||||||
can also be specified with the `GOOGLE_PROJECT` shell environment variable.
|
|
||||||
|
|
||||||
* `region` - (Required) The region to operate under. This can also be specified
|
* `region` - (Required) The region to operate under. This can also be specified
|
||||||
with the `GOOGLE_REGION` shell environment variable.
|
with the `GOOGLE_REGION` shell environment variable.
|
||||||
|
|
||||||
|
* `project` - (Optional) The ID of the project to apply resources in. This
|
||||||
|
can also be specified with the `GOOGLE_PROJECT` shell environment variable.
|
||||||
|
If unspecified, users will need to specify the `project` attribute for
|
||||||
|
all resources. If specified, resources which do not depend on a project will
|
||||||
|
ignore this value.
|
||||||
|
|
||||||
The following keys are supported for backwards compatibility, and may be
|
The following keys are supported for backwards compatibility, and may be
|
||||||
removed in a future version:
|
removed in a future version:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user