Increase timeouts for rolling deploys

This commit is contained in:
Andrew Dryga
2023-10-06 10:30:48 -06:00
parent 70d4e87f95
commit 6e0f4d9563
2 changed files with 12 additions and 0 deletions

View File

@@ -342,6 +342,12 @@ resource "google_compute_region_instance_group_manager" "application" {
max_surge_fixed = max(1, var.scaling_horizontal_replicas - 1)
}
timeouts {
create = "20m"
update = "30m"
delete = "20m"
}
depends_on = [
google_compute_instance_template.application
]

View File

@@ -335,6 +335,12 @@ resource "google_compute_region_instance_group_manager" "application" {
max_surge_fixed = max(length(each.value.zones), each.value.replicas - 1)
}
timeouts {
create = "20m"
update = "30m"
delete = "20m"
}
depends_on = [
google_compute_instance_template.application
]