Update docs: correct provider argument is tag_key

This commit is contained in:
Kevin Wojkovich 2021-09-29 07:01:10 -05:00
parent ab0bfcd3ca
commit a7ede8dc0f
1 changed files with 3 additions and 3 deletions

View File

@ -147,7 +147,7 @@ endpoint](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-identity-d
### Microsoft Azure
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.
```shell-session
@ -157,7 +157,7 @@ $ consul agent -retry-join "provider=azure tag_key=... tag_value=... tenant_id=.
```json
{
"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:
- `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.
Use these configuration parameters (instead of `tag_name` and `tag_value`) when using Virtual Machine Scale Sets (Consul 1.0.3 and later):