Skip to content

Commit

Permalink
Increase concurrency by instances
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall authored May 18, 2024
1 parent a52ba64 commit 4c77074
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion modules/cloudrun/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion modules/cloudrun/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ variable "min_instances" {
}
variable "max_instances" {
type = string
default = "5"
default = "100"
}

variable "regions" {
Expand Down

0 comments on commit 4c77074

Please sign in to comment.