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:
parent
926acfd082
commit
ddc8f21edc
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue