Skip to content

Commit 5294e8f

Browse files
committed
fix: update all functions to recent runtimes
1 parent 3205350 commit 5294e8f

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

composer/triggering_dags_with_functions_and_pubsub/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ resource "google_pubsub_topic" "trigger" {
177177
resource "google_cloudfunctions_function" "pubsub_function" {
178178
project = data.google_project.project.project_id
179179
name = "pubsub-publisher"
180-
runtime = "python310"
180+
runtime = "python312"
181181
region = "us-central1"
182182

183183
available_memory_mb = 128

functions/basic/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ resource "google_cloudfunctions2_function" "default" {
5151
description = "a new function"
5252

5353
build_config {
54-
runtime = "nodejs16"
54+
runtime = "nodejs22"
5555
entry_point = "helloHttp" # Set the entry point
5656
source {
5757
storage_source {

functions/basic_audit_logs/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ resource "google_cloudfunctions2_function" "default" {
9898
description = "a new function"
9999

100100
build_config {
101-
runtime = "nodejs12"
101+
runtime = "nodejs22"
102102
entry_point = "entryPoint" # Set the entry point in the code
103103
environment_variables = {
104104
BUILD_CONFIG_TEST = "build_test"

functions/basic_gcs/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ resource "google_cloudfunctions2_function" "default" {
104104
description = "a new function"
105105

106106
build_config {
107-
runtime = "nodejs12"
107+
runtime = "nodejs22"
108108
entry_point = "entryPoint" # Set the entry point in the code
109109
environment_variables = {
110110
BUILD_CONFIG_TEST = "build_test"

functions/pubsub/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ resource "google_cloudfunctions2_function" "default" {
6262
description = "a new function"
6363

6464
build_config {
65-
runtime = "nodejs16"
65+
runtime = "nodejs22"
6666
entry_point = "helloPubSub" # Set the entry point
6767
environment_variables = {
6868
BUILD_CONFIG_TEST = "build_test"

0 commit comments

Comments
 (0)