Skip to content

Commit

Permalink
fix timeout value
Browse files Browse the repository at this point in the history
  • Loading branch information
moremagic committed Jul 12, 2022
1 parent b657db4 commit a6a9f50
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion internal/service/kafka/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2038,6 +2038,10 @@ resource "aws_msk_cluster" "test" {
}
enhanced_monitoring = %[2]q
}
timeouts {
create = "3h" # As of Jul 2022 MSK clusters can take 2h or more to be created
}
}
`, rName, enhancedMonitoring))

Expand All @@ -2059,6 +2063,11 @@ resource "aws_msk_cluster" "test" {
security_groups = [aws_security_group.example_sg.id]
}
}
timeouts {
create = "3h" # As of Jul 2022 MSK clusters can take 2h or more to be created
update = "3h" # As of Jul 2022 MSK clusters can take 2h or more to be update
}
}
`, rName, brokerCount))

Expand Down Expand Up @@ -2199,6 +2208,11 @@ resource "aws_msk_cluster" "test" {
}
}
}
timeouts {
create = "3h" # As of Jul 2022 MSK clusters can take 2h or more to be created
update = "3h" # As of Jul 2022 MSK clusters can take 2h or more to be update
}
}
`, rName, cloudwatchLogsEnabled, cloudwatchLogsLogGroup, firehoseEnabled, firehoseDeliveryStream, s3Enabled, s3Bucket))
}
Expand Down Expand Up @@ -2227,7 +2241,7 @@ resource "aws_msk_cluster" "test" {
}
timeouts {
create = "4h" # As of Jul 2022 MSK clusters can take 4h or more to be created
create = "4h" # As of Jul 2022 MSK clusters can take 3h or more to be created
update = "4h" # As of Jul 2022 MSK clusters can take 3h or more to be update
delete = "4h" # As of Jul 2022 MSK clusters can take 3h or more to be delete
}
Expand Down Expand Up @@ -2279,6 +2293,11 @@ resource "aws_msk_cluster" "test" {
revision = aws_msk_configuration.%[3]s.latest_revision
}
}
timeouts {
create = "3h" # As of Jul 2022 MSK clusters can take 2h or more to be created
update = "3h" # As of Jul 2022 MSK clusters can take 2h or more to be update
}
}
`, rName, kafkaVersion, configResourceName))
}
Expand Down

0 comments on commit a6a9f50

Please sign in to comment.