Skip to content

Commit 5aaec14

Browse files
committed
data/aws/vpc/master-elb: Drop idle_timeout from aws_lb resources
It is not valid for network load balancers [1]. We've been setting this in our Terraform config since 0a96415 (modules/aws: configure ELB idle timeout, coreos/tectonic-installer#725) when we were using classic load balancers and should have dropped it in 16dfbb3 (data/aws: use nlbs instead of elbs, 2018-11-01, openshift#594). [1]: hashicorp/terraform-provider-aws@d25a227#diff-f4b0dbdc7e3eede6ba70cd286c834f37R78
1 parent 6318c72 commit 5aaec14

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

data/data/aws/vpc/master-elb.tf

-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ resource "aws_lb" "api_internal" {
44
subnets = local.private_subnet_ids
55
internal = true
66
enable_cross_zone_load_balancing = true
7-
idle_timeout = 3600
87

98
tags = merge(
109
{
@@ -22,7 +21,6 @@ resource "aws_lb" "api_external" {
2221
subnets = local.public_subnet_ids
2322
internal = false
2423
enable_cross_zone_load_balancing = true
25-
idle_timeout = 3600
2624

2725
tags = merge(
2826
{

0 commit comments

Comments
 (0)