update example for tag_name (#9226)

* update example for tag_name

In the example for azure the "tag_name" field is wrong cause say "tag_key" and not "tag_name"

* change tag_key by tag_name in the description of azure
This commit is contained in:
Tenpo 2020-12-15 17:09:16 -03:00 committed by hashicorp-ci
parent 1f7ad3bcf5
commit abb3b443c9
1 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,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_key` and `tag_value` applied to their virtual NIC in the tenant and subscription, or in which have the given `tag_name` 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
@ -95,7 +95,7 @@ $ consul agent -retry-join "provider=azure tag_key=... tag_value=... tenant_id=.
```json ```json
{ {
"retry_join": [ "retry_join": [
"provider=azure tag_key=... tag_value=... tenant_id=... client_id=... subscription_id=... secret_access_key=..." "provider=azure tag_name=... tag_value=... tenant_id=... client_id=... subscription_id=... secret_access_key=..."
] ]
} }
``` ```