Skip to content

Commit

Permalink
Merge pull request hashicorp#11175 from kevinwojo/patch-azure-auto-join
Browse files Browse the repository at this point in the history
Update docs: correct provider argument is tag_key
  • Loading branch information
mrspanishviking authored Feb 18, 2022
2 parents 2da701b + 5212dcd commit 9c4eea1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/content/docs/install/cloud-auto-join.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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=..."
]
}
```
Expand All @@ -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):
Expand Down

0 comments on commit 9c4eea1

Please # to comment.