Skip to content

Commit bc20148

Browse files
committed
added FUNCTION_SIGNATURE_TYPE
1 parent 2d5dca5 commit bc20148

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

infra/functions-python/main.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1506,6 +1506,9 @@ resource "google_cloudfunctions2_function" "refresh_materialized_view" {
15061506
build_config {
15071507
runtime = var.python_runtime
15081508
entry_point = "refresh_materialized_view_function"
1509+
environment_variables = {
1510+
FUNCTION_SIGNATURE_TYPE = "http" # or "event"
1511+
}
15091512
source {
15101513
storage_source {
15111514
bucket = google_storage_bucket.functions_bucket.name

0 commit comments

Comments
 (0)