FEATURES PRICING ABOUT DOCS LOGIN

aws_app_cookie_stickiness_policy

Provides an application cookie stickiness policy, which allows an ELB to wed its sticky cookie’s expiration to a cookie generated by your application.

Example Usage

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"
    }
}

resource "aws_app_cookie_stickiness_policy" "foo" {
	name = "foo_policy"
	load_balancer = "${aws_elb.lb.name}"
	lb_port = 80
	cookie_name = "MyAppCookie"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:


See the source of this document at Terraform.io

REQUEST A DEMO