Put on a limit of max instances.
This commit is contained in:
parent
d90b267848
commit
f457cf2a6c
@ -57,6 +57,7 @@ resource "google_cloudfunctions_function" "function" {
|
|||||||
source_archive_object = google_storage_bucket_object.remote_archive.name
|
source_archive_object = google_storage_bucket_object.remote_archive.name
|
||||||
trigger_http = true
|
trigger_http = true
|
||||||
entry_point = "main"
|
entry_point = "main"
|
||||||
|
max_instances = 4
|
||||||
ingress_settings = "ALLOW_ALL"
|
ingress_settings = "ALLOW_ALL"
|
||||||
# ingress_settings = "ALLOW_INTERNAL_ONLY"
|
# ingress_settings = "ALLOW_INTERNAL_ONLY"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user