Last active
January 17, 2017 17:19
-
-
Save katesclau/93b7c3becca0462b41357e447064570d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# App Stickiness Policy | |
resource "aws_app_cookie_stickiness_policy" "ssl_app_stickiness" { | |
name = "${var.elb_name}-ssl-stickiness" | |
load_balancer = "${aws_elb.classic_elb.id}" | |
lb_port = 443 | |
cookie_name = "${var.session_cookie}" | |
} | |
# ELB Stickiness policy | |
resource "aws_lb_cookie_stickiness_policy" "lb_stickiness" { | |
name = "${var.elb_name}-stickiness" | |
load_balancer = "${aws_elb.classic_elb.id}" | |
lb_port = 80 | |
cookie_expiration_period = 600 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment