Put on a limit of max instances.

This commit is contained in:
Tom Alexander 2021-07-20 23:03:01 -04:00
parent d90b267848
commit f457cf2a6c
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -57,6 +57,7 @@ resource "google_cloudfunctions_function" "function" {
source_archive_object = google_storage_bucket_object.remote_archive.name
trigger_http = true
entry_point = "main"
max_instances = 4
ingress_settings = "ALLOW_ALL"
# ingress_settings = "ALLOW_INTERNAL_ONLY"