Skip to content

Commit 0a96415

Browse files
Sergiusz Urbaniakalexsomesan
Sergiusz Urbaniak
authored andcommitted
modules/aws: configure ELB idle timeout (openshift#725)
Fixes openshift#390
1 parent 383f005 commit 0a96415

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modules/aws/master-asg/elb.tf

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ resource "aws_elb" "api-internal" {
44
internal = true
55
security_groups = ["${var.api_sg_ids}"]
66

7+
idle_timeout = 3600
8+
79
listener {
810
instance_port = 443
911
instance_protocol = "tcp"
@@ -44,6 +46,8 @@ resource "aws_elb" "api-external" {
4446
internal = false
4547
security_groups = ["${var.api_sg_ids}"]
4648

49+
idle_timeout = 3600
50+
4751
listener {
4852
instance_port = 22
4953
instance_protocol = "tcp"
@@ -91,6 +95,8 @@ resource "aws_elb" "console" {
9195
internal = "${var.public_vpc ? false : true}"
9296
security_groups = ["${var.console_sg_ids}"]
9397

98+
idle_timeout = 3600
99+
94100
listener {
95101
instance_port = 32001
96102
instance_protocol = "tcp"

0 commit comments

Comments
 (0)