Update lb_monitor_v2.html.markdown

added missing required parameter pool_id and updated code sample.
This commit is contained in:
Florian Lechner 2017-05-31 17:14:15 +02:00 committed by GitHub
parent b8b1e8006a
commit fe5fc79a71

View File

@ -14,6 +14,7 @@ Manages a V2 monitor resource within OpenStack.
```hcl
resource "openstack_lb_monitor_v2" "monitor_1" {
pool_id = "${openstack_lb_pool_v2.pool_1.id}"
type = "PING"
delay = 20
timeout = 10
@ -29,6 +30,8 @@ The following arguments are supported:
A Networking client is needed to create an . If omitted, the
`OS_REGION_NAME` environment variable is used. Changing this creates a new
monitor.
* `pool_id` - (Required) The id of the pool that this monitor will be assigned to.
* `name` - (Optional) The Name of the Monitor.