[docs] Fix sentence order for GCE Cloud Auto-Join

This commit is contained in:
Robert Hencke 2019-06-09 16:07:14 -04:00 committed by Blake Covarrubias
parent db9a83ca08
commit b759bc7c00

View file

@ -146,6 +146,10 @@ $ consul agent -retry-join "provider=gce project_name=... tag_value=..."
#### Authentication & Precedence #### Authentication & Precedence
Discovery requires a [GCE Service
Account](https://cloud.google.com/compute/docs/access/service-accounts).
Credentials are searched using the following paths, in order of precedence.
- Use credentials from `credentials_file`, if provided. - Use credentials from `credentials_file`, if provided.
- Use JSON file from `GOOGLE_APPLICATION_CREDENTIALS` environment variable. - Use JSON file from `GOOGLE_APPLICATION_CREDENTIALS` environment variable.
- Use JSON file in a location known to the gcloud command-line tool. - Use JSON file in a location known to the gcloud command-line tool.
@ -154,10 +158,6 @@ $ consul agent -retry-join "provider=gce project_name=... tag_value=..."
- On Google Compute Engine, use credentials from the metadata - On Google Compute Engine, use credentials from the metadata
server. In this final case any provided scopes are ignored. server. In this final case any provided scopes are ignored.
Discovery requires a [GCE Service
Account](https://cloud.google.com/compute/docs/access/service-accounts).
Credentials are searched using the following paths, in order of precedence.
### IBM SoftLayer ### IBM SoftLayer
This returns the first private IP address of all servers for the given This returns the first private IP address of all servers for the given