Skip to content

Commit fbc148d

Browse files
glasntgericdong
authored andcommitted
fix: update all functions to recent runtimes (terraform-google-modules#813)
* fix: update all functions to recent runtimes * revert change --------- Co-authored-by: Eric Dong <[email protected]>
1 parent 53b2538 commit fbc148d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

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)