Merge pull request #11175 from kevinwojo/patch-azure-auto-join

Update docs: correct provider argument is tag_key
This commit is contained in:
mrspanishviking 2022-02-18 04:13:47 -07:00 committed by GitHub
commit 999992eb3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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):