Skip to content

Commit

Permalink
Added longer timeouts for aws_route create (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
smihajlovic-frame authored and antonbabenko committed Apr 9, 2018
1 parent 323a995 commit 5b87ef4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ resource "aws_route" "public_internet_gateway" {
route_table_id = "${aws_route_table.public.id}"
destination_cidr_block = "0.0.0.0/0"
gateway_id = "${aws_internet_gateway.this.id}"

timeouts {
create = "5m"
}

}

#################
Expand Down Expand Up @@ -228,6 +233,11 @@ resource "aws_route" "private_nat_gateway" {
route_table_id = "${element(aws_route_table.private.*.id, count.index)}"
destination_cidr_block = "0.0.0.0/0"
nat_gateway_id = "${element(aws_nat_gateway.this.*.id, count.index)}"

timeouts {
create = "5m"
}

}

######################
Expand Down

0 comments on commit 5b87ef4

Please sign in to comment.