@@ -2038,6 +2038,10 @@ resource "aws_msk_cluster" "test" {
2038
2038
}
2039
2039
enhanced_monitoring = %[2]q
2040
2040
}
2041
+
2042
+ timeouts {
2043
+ create = "3h" # As of Jul 2022 MSK clusters can take 2h or more to be created
2044
+ }
2041
2045
}
2042
2046
` , rName , enhancedMonitoring ))
2043
2047
@@ -2059,6 +2063,11 @@ resource "aws_msk_cluster" "test" {
2059
2063
security_groups = [aws_security_group.example_sg.id]
2060
2064
}
2061
2065
}
2066
+
2067
+ timeouts {
2068
+ create = "3h" # As of Jul 2022 MSK clusters can take 2h or more to be created
2069
+ update = "3h" # As of Jul 2022 MSK clusters can take 2h or more to be update
2070
+ }
2062
2071
}
2063
2072
` , rName , brokerCount ))
2064
2073
@@ -2199,6 +2208,11 @@ resource "aws_msk_cluster" "test" {
2199
2208
}
2200
2209
}
2201
2210
}
2211
+
2212
+ timeouts {
2213
+ create = "3h" # As of Jul 2022 MSK clusters can take 2h or more to be created
2214
+ update = "3h" # As of Jul 2022 MSK clusters can take 2h or more to be update
2215
+ }
2202
2216
}
2203
2217
` , rName , cloudwatchLogsEnabled , cloudwatchLogsLogGroup , firehoseEnabled , firehoseDeliveryStream , s3Enabled , s3Bucket ))
2204
2218
}
@@ -2227,7 +2241,7 @@ resource "aws_msk_cluster" "test" {
2227
2241
}
2228
2242
2229
2243
timeouts {
2230
- create = "4h" # As of Jul 2022 MSK clusters can take 4h or more to be created
2244
+ create = "4h" # As of Jul 2022 MSK clusters can take 3h or more to be created
2231
2245
update = "4h" # As of Jul 2022 MSK clusters can take 3h or more to be update
2232
2246
delete = "4h" # As of Jul 2022 MSK clusters can take 3h or more to be delete
2233
2247
}
@@ -2279,6 +2293,11 @@ resource "aws_msk_cluster" "test" {
2279
2293
revision = aws_msk_configuration.%[3]s.latest_revision
2280
2294
}
2281
2295
}
2296
+
2297
+ timeouts {
2298
+ create = "3h" # As of Jul 2022 MSK clusters can take 2h or more to be created
2299
+ update = "3h" # As of Jul 2022 MSK clusters can take 2h or more to be update
2300
+ }
2282
2301
}
2283
2302
` , rName , kafkaVersion , configResourceName ))
2284
2303
}
0 commit comments