typo consul catalog entry example

In the consul catalog entry example `name` was specified in the root of the resource rather than the key `node` which is the actual required key-name.
This commit is contained in:
John Dittmar 2016-09-07 19:04:18 -05:00 committed by GitHub
parent 926acfd082
commit ddc8f21edc
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ Provides access to Catalog data in Consul. This can be used to define a node or
``` ```
resource "consul_catalog_entry" "app" { resource "consul_catalog_entry" "app" {
address = "192.168.10.10" address = "192.168.10.10"
name = "foobar" node = "foobar"
service = { service = {
address = "127.0.0.1" address = "127.0.0.1"
id = "redis1" id = "redis1"