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

modules/aws: configure ELB idle timeout #725

Merged
merged 1 commit into from
May 17, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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