Put on a limit of max instances.

master
Tom Alexander 3 years ago
parent d90b267848
commit f457cf2a6c
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

@ -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…
Cancel
Save