Skip to content

Commit

Permalink
Increase aws_route_table creation timeout from 2m to 5m (#473)
Browse files Browse the repository at this point in the history
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
  • Loading branch information
ialidzhikov authored Jan 12, 2022
1 parent b447631 commit 27042c8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkg/controller/infrastructure/templates/main.tpl.tf
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ resource "aws_vpc_endpoint" "vpc_gwep_{{ $ep }}" {
resource "aws_route_table" "routetable_main" {
vpc_id = {{ .vpc.id }}

timeouts {
create = "5m"
}

{{ commonTags .clusterName | indent 2 }}
}

Expand Down Expand Up @@ -244,6 +248,10 @@ resource "aws_nat_gateway" "natgw_z{{ $index }}" {
resource "aws_route_table" "routetable_private_utility_z{{ $index }}" {
vpc_id = {{ $.vpc.id }}

timeouts {
create = "5m"
}

{{ commonTagsWithSuffix $.clusterName (print "private-" $zone.name) | indent 2 }}
}

Expand Down

0 comments on commit 27042c8

Please sign in to comment.