Skip to content

Commit 1ec2758

Browse files
committed
data/aws/vpc/master-elb: Bump load-balancer timeouts to 20m
Up from their default 10 minutes, using the knob that dates back to the original network load balancer support [1]. This should help us avoid the [2]: Error: timeout while waiting for state to become 'active' (last state: 'provisioning', timeout: 10m0s) that cropped up again this week. 20m matches the timeout we set for routes and security groups in 246f4a1 (data/aws: 20-minute create timeouts for routes and security groups, 2019-04-26, openshift#1682). Sometimes even 20m will not be enough [3], but should make us a bit more resilient anyway. [1]: hashicorp/terraform-provider-aws@1af53b1#diff-f4b0dbdc7e3eede6ba70cd286c834f37R92 [2]: https://bugzilla.redhat.com/show_bug.cgi?id=1717604 [3]: https://bugzilla.redhat.com/show_bug.cgi?id=1717604#c15
1 parent 6318c72 commit 1ec2758

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ resource "aws_lb" "api_internal" {
1313
var.tags,
1414
)
1515

16+
timeouts {
17+
create = "20m"
18+
}
19+
1620
depends_on = [aws_internet_gateway.igw]
1721
}
1822

@@ -31,6 +35,10 @@ resource "aws_lb" "api_external" {
3135
var.tags,
3236
)
3337

38+
timeouts {
39+
create = "20m"
40+
}
41+
3442
depends_on = [aws_internet_gateway.igw]
3543
}
3644

0 commit comments

Comments
 (0)