Merge pull request #11175 from kevinwojo/patch-azure-auto-join
Update docs: correct provider argument is tag_key
This commit is contained in:
commit
999992eb3c
|
@ -147,7 +147,7 @@ endpoint](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-identity-d
|
||||||
### Microsoft Azure
|
### Microsoft Azure
|
||||||
|
|
||||||
This returns the first private IP address of all servers in the given region
|
This returns the first private IP address of all servers in the given region
|
||||||
which have the given `tag_name` and `tag_value` applied to their virtual NIC in the tenant and subscription, or in
|
which have the given `tag_key` and `tag_value` applied to their virtual NIC in the tenant and subscription, or in
|
||||||
the given `resource_group` of a `vm_scale_set` for Virtual Machine Scale Sets.
|
the given `resource_group` of a `vm_scale_set` for Virtual Machine Scale Sets.
|
||||||
|
|
||||||
```shell-session
|
```shell-session
|
||||||
|
@ -157,7 +157,7 @@ $ consul agent -retry-join "provider=azure tag_key=... tag_value=... tenant_id=.
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"retry_join": [
|
"retry_join": [
|
||||||
"provider=azure tag_name=... tag_value=... tenant_id=... client_id=... subscription_id=... secret_access_key=..."
|
"provider=azure tag_key=... tag_value=... tenant_id=... client_id=... subscription_id=... secret_access_key=..."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -176,7 +176,7 @@ Variables can also be provided by environmental variables:
|
||||||
|
|
||||||
Use these configuration parameters when using tags:
|
Use these configuration parameters when using tags:
|
||||||
|
|
||||||
- `tag_name` - the name of the tag to auto-join on.
|
- `tag_key` - the name of the tag to auto-join on.
|
||||||
- `tag_value` - the value of the tag to auto-join on.
|
- `tag_value` - the value of the tag to auto-join on.
|
||||||
|
|
||||||
Use these configuration parameters (instead of `tag_name` and `tag_value`) when using Virtual Machine Scale Sets (Consul 1.0.3 and later):
|
Use these configuration parameters (instead of `tag_name` and `tag_value`) when using Virtual Machine Scale Sets (Consul 1.0.3 and later):
|
||||||
|
|
Loading…
Reference in New Issue