Updating the app_cookie_stickiness_policy docs to reflact needing a LoadBalancer name NOT Id

This commit is contained in:
stack72 2015-09-18 11:13:37 +01:00
parent a7a7f8393e
commit 6337c350f5
1 changed files with 13 additions and 13 deletions

View File

@ -15,20 +15,20 @@ Provides an application cookie stickiness policy, which allows an ELB to wed its
```
resource "aws_elb" "lb" {
name = "test-lb"
availability_zones = ["us-east-1a"]
listener {
instance_port = 8000
instance_protocol = "http"
lb_port = 80
lb_protocol = "http"
}
availability_zones = ["us-east-1a"]
listener {
instance_port = 8000
instance_protocol = "http"
lb_port = 80
lb_protocol = "http"
}
}
resource "aws_app_cookie_stickiness_policy" "foo" {
name = "foo_policy"
load_balancer = "${aws_elb.lb.id}"
lb_port = 80
cookie_name = "MyAppCookie"
name = "foo_policy"
load_balancer = "${aws_elb.lb.name}"
lb_port = 80
cookie_name = "MyAppCookie"
}
```
@ -37,7 +37,7 @@ resource "aws_app_cookie_stickiness_policy" "foo" {
The following arguments are supported:
* `name` - (Required) The name of the stickiness policy.
* `load_balancer` - (Required) The load balancer to which the policy
* `load_balancer` - (Required) The name of load balancer to which the policy
should be attached.
* `lb_port` - (Required) The load balancer port to which the policy
should be applied. This must be an active listener on the load
@ -50,6 +50,6 @@ The following attributes are exported:
* `id` - The ID of the policy.
* `name` - The name of the stickiness policy.
* `load_balancer` - The load balancer to which the policy is attached.
* `load_balancer` - The name of load balancer to which the policy is attached.
* `lb_port` - The load balancer port to which the policy is applied.
* `cookie_name` - The application cookie whose lifetime the ELB's cookie should follow.