providers/google: Document account_file_contents
This commit is contained in:
parent
4ce776d252
commit
c7954dbf74
|
@ -34,13 +34,19 @@ resource "google_compute_instance" "default" {
|
||||||
|
|
||||||
The following keys can be used to configure the provider.
|
The following keys can be used to configure the provider.
|
||||||
|
|
||||||
* `account_file` - (Required) Path to the JSON file used to describe your
|
* `account_file` - (Required, unless `account_file_contents` is present) Path
|
||||||
account credentials, downloaded from Google Cloud Console. More details on
|
to the JSON file used to describe your account credentials, downloaded from
|
||||||
retrieving this file are below. The _account file_ can be "" if you
|
Google Cloud Console. More details on retrieving this file are below. The
|
||||||
are running terraform from a GCE instance with a properly-configured [Compute
|
_account file_ can be "" if you are running terraform from a GCE instance with
|
||||||
Engine Service Account](https://cloud.google.com/compute/docs/authentication).
|
a properly-configured [Compute Engine Service
|
||||||
This can also be specified with the `GOOGLE_ACCOUNT_FILE` shell environment
|
Account](https://cloud.google.com/compute/docs/authentication). This can also
|
||||||
variable.
|
be specified with the `GOOGLE_ACCOUNT_FILE` shell environment variable.
|
||||||
|
|
||||||
|
* `account_file_contents` - (Required, unless `account_file` is present) The
|
||||||
|
contents of `account_file`. This can be used to pass the account credentials
|
||||||
|
with a Terraform var or environment variable if the account file is not
|
||||||
|
accessible. This can also be specified with the `GOOGLE_ACCOUNT_FILE_CONTENTS`
|
||||||
|
shell environment variable.
|
||||||
|
|
||||||
* `project` - (Required) The ID of the project to apply any resources to. This
|
* `project` - (Required) The ID of the project to apply any resources to. This
|
||||||
can also be specified with the `GOOGLE_PROJECT` shell environment variable.
|
can also be specified with the `GOOGLE_PROJECT` shell environment variable.
|
||||||
|
|
Loading…
Reference in New Issue