Skip to content

Commit 9c4eea1

Browse files
author
mrspanishviking
authored
Merge pull request hashicorp#11175 from kevinwojo/patch-azure-auto-join
Update docs: correct provider argument is tag_key
2 parents 2da701b + 5212dcd commit 9c4eea1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

website/content/docs/install/cloud-auto-join.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ endpoint](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-identity-d
147147
### Microsoft Azure
148148

149149
This returns the first private IP address of all servers in the given region
150-
which have the given `tag_name` and `tag_value` applied to their virtual NIC in the tenant and subscription, or in
150+
which have the given `tag_key` and `tag_value` applied to their virtual NIC in the tenant and subscription, or in
151151
the given `resource_group` of a `vm_scale_set` for Virtual Machine Scale Sets.
152152

153153
```shell-session
@@ -157,7 +157,7 @@ $ consul agent -retry-join "provider=azure tag_key=... tag_value=... tenant_id=.
157157
```json
158158
{
159159
"retry_join": [
160-
"provider=azure tag_name=... tag_value=... tenant_id=... client_id=... subscription_id=... secret_access_key=..."
160+
"provider=azure tag_key=... tag_value=... tenant_id=... client_id=... subscription_id=... secret_access_key=..."
161161
]
162162
}
163163
```
@@ -176,7 +176,7 @@ Variables can also be provided by environmental variables:
176176

177177
Use these configuration parameters when using tags:
178178

179-
- `tag_name` - the name of the tag to auto-join on.
179+
- `tag_key` - the name of the tag to auto-join on.
180180
- `tag_value` - the value of the tag to auto-join on.
181181

182182
Use these configuration parameters (instead of `tag_name` and `tag_value`) when using Virtual Machine Scale Sets (Consul 1.0.3 and later):

0 commit comments

Comments
 (0)