Updating the app_cookie_stickiness_policy docs to reflact needing a LoadBalancer name NOT Id
This commit is contained in:
parent
a7a7f8393e
commit
6337c350f5
|
@ -26,7 +26,7 @@ resource "aws_elb" "lb" {
|
|||
|
||||
resource "aws_app_cookie_stickiness_policy" "foo" {
|
||||
name = "foo_policy"
|
||||
load_balancer = "${aws_elb.lb.id}"
|
||||
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.
|
||||
|
|
Loading…
Reference in New Issue