feat(cloud-function-v2): add support for auto_update_policy (#3881)

Co-authored-by: Julio Castillo <jccb@google.com>
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
This commit is contained in:
Vijay Kumar Singh
2026-04-25 10:18:40 +05:30
committed by GitHub
parent 0a22ef3a6f
commit a727a2ea02
4 changed files with 88 additions and 20 deletions

View File

@@ -0,0 +1,27 @@
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
values:
module.cf-http.google_cloudfunctions2_function.function:
build_config:
- automatic_update_policy:
- {}
entry_point: main
on_deploy_update_policy: []
runtime: python310
counts:
google_cloudfunctions2_function: 1
outputs: {}