diff --git a/modules/cloudrun/main.tf b/modules/cloudrun/main.tf index 50bb8c8..5501eeb 100644 --- a/modules/cloudrun/main.tf +++ b/modules/cloudrun/main.tf @@ -48,7 +48,9 @@ resource "google_cloud_run_service" "cloudrun" { } } spec { - service_account_name = data.google_service_account.service_account.email + service_account_name = data.google_service_account.service_account.email + container_concurrency = 1 + dynamic "containers" { for_each = var.containers content { diff --git a/modules/cloudrun/variables.tf b/modules/cloudrun/variables.tf index 37c0967..af6d345 100644 --- a/modules/cloudrun/variables.tf +++ b/modules/cloudrun/variables.tf @@ -8,7 +8,7 @@ variable "min_instances" { } variable "max_instances" { type = string - default = "5" + default = "100" } variable "regions" {