Skip to content

Commit

Permalink
modules/aws: configure ELB idle timeout (openshift#725)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergiusz Urbaniak authored and alexsomesan committed May 17, 2017
1 parent 383f005 commit 0a96415
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/aws/master-asg/elb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ resource "aws_elb" "api-internal" {
internal = true
security_groups = ["${var.api_sg_ids}"]

idle_timeout = 3600

listener {
instance_port = 443
instance_protocol = "tcp"
Expand Down Expand Up @@ -44,6 +46,8 @@ resource "aws_elb" "api-external" {
internal = false
security_groups = ["${var.api_sg_ids}"]

idle_timeout = 3600

listener {
instance_port = 22
instance_protocol = "tcp"
Expand Down Expand Up @@ -91,6 +95,8 @@ resource "aws_elb" "console" {
internal = "${var.public_vpc ? false : true}"
security_groups = ["${var.console_sg_ids}"]

idle_timeout = 3600

listener {
instance_port = 32001
instance_protocol = "tcp"
Expand Down

0 comments on commit 0a96415

Please sign in to comment.