Skip to content
This repository has been archived by the owner on Feb 5, 2020. It is now read-only.

Commit

Permalink
modules/aws: configure ELB idle timeout
Browse files Browse the repository at this point in the history
Fixes #390
  • Loading branch information
Sergiusz Urbaniak committed May 17, 2017
1 parent 6405c9f commit 43bc363
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 43bc363

Please sign in to comment.