File tree Expand file tree Collapse file tree 5 files changed +20
-0
lines changed Expand file tree Collapse file tree 5 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,10 @@ resource "aws_lb_target_group_attachment" "bootstrap" {
140
140
resource "aws_security_group" "bootstrap" {
141
141
vpc_id = " ${ var . vpc_id } "
142
142
143
+ timeouts {
144
+ create = " 20m"
145
+ }
146
+
143
147
tags = " ${ merge (map (
144
148
" Name" , " ${ var . cluster_id } -bootstrap-sg" ,
145
149
), var. tags )} "
Original file line number Diff line number Diff line change 1
1
resource "aws_security_group" "master" {
2
2
vpc_id = " ${ data . aws_vpc . cluster_vpc . id } "
3
3
4
+ timeouts {
5
+ create = " 20m"
6
+ }
7
+
4
8
tags = " ${ merge (map (
5
9
" Name" , " ${ var . cluster_id } -master-sg" ,
6
10
), var. tags )} "
Original file line number Diff line number Diff line change 1
1
resource "aws_security_group" "worker" {
2
2
vpc_id = " ${ data . aws_vpc . cluster_vpc . id } "
3
3
4
+ timeouts {
5
+ create = " 20m"
6
+ }
7
+
4
8
tags = " ${ merge (map (
5
9
" Name" , " ${ var . cluster_id } -worker-sg" ,
6
10
), var. tags )} "
Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ resource "aws_route" "to_nat_gw" {
13
13
destination_cidr_block = " 0.0.0.0/0"
14
14
nat_gateway_id = " ${ element (aws_nat_gateway. nat_gw . * . id , count. index )} "
15
15
depends_on = [" aws_route_table.private_routes" ]
16
+
17
+ timeouts {
18
+ create = " 20m"
19
+ }
16
20
}
17
21
18
22
resource "aws_subnet" "private_subnet" {
Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ resource "aws_route" "igw_route" {
23
23
destination_cidr_block = " 0.0.0.0/0"
24
24
route_table_id = " ${ aws_route_table . default . id } "
25
25
gateway_id = " ${ aws_internet_gateway . igw . id } "
26
+
27
+ timeouts {
28
+ create = " 20m"
29
+ }
26
30
}
27
31
28
32
resource "aws_subnet" "public_subnet" {
You can’t perform that action at this time.
0 commit comments