Skip to content

Commit

Permalink
update to use sticky cookies for pw-manager and phpmyadmin
Browse files Browse the repository at this point in the history
  • Loading branch information
fillup committed Nov 14, 2017
1 parent 0f8d295 commit 7df4031
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions terraform/030-phpmyadmin/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ resource "aws_alb_target_group" "phpmyadmin" {
protocol = "HTTP"
vpc_id = "${var.vpc_id}"
deregistration_delay = "30"

stickiness {
type = "lb_cookie"
}
}

/*
Expand Down
4 changes: 4 additions & 0 deletions terraform/050-pw-manager/main-api.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ resource "aws_alb_target_group" "pwmanager" {
vpc_id = "${var.vpc_id}"
deregistration_delay = "30"

stickiness {
type = "lb_cookie"
}

health_check {
path = "/site/system-status"
matcher = "200"
Expand Down

0 comments on commit 7df4031

Please sign in to comment.