Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer/triggering_dags_with_functions_and_pubsub/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ resource "google_pubsub_topic" "trigger" {
resource "google_cloudfunctions_function" "pubsub_function" {
project = data.google_project.project.project_id
name = "pubsub-publisher"
runtime = "python310"
runtime = "python312"
region = "us-central1"

available_memory_mb = 128
Expand Down
2 changes: 1 addition & 1 deletion functions/basic/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ resource "google_cloudfunctions2_function" "default" {
description = "a new function"

build_config {
runtime = "nodejs16"
runtime = "nodejs22"
entry_point = "helloHttp" # Set the entry point
source {
storage_source {
Expand Down
2 changes: 1 addition & 1 deletion functions/basic_audit_logs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ resource "google_cloudfunctions2_function" "default" {
description = "a new function"

build_config {
runtime = "nodejs12"
runtime = "nodejs22"
entry_point = "entryPoint" # Set the entry point in the code
environment_variables = {
BUILD_CONFIG_TEST = "build_test"
Expand Down
2 changes: 1 addition & 1 deletion functions/basic_gcs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ resource "google_cloudfunctions2_function" "default" {
description = "a new function"

build_config {
runtime = "nodejs12"
runtime = "nodejs22"
entry_point = "entryPoint" # Set the entry point in the code
environment_variables = {
BUILD_CONFIG_TEST = "build_test"
Expand Down
2 changes: 1 addition & 1 deletion functions/pubsub/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ resource "google_cloudfunctions2_function" "default" {
description = "a new function"

build_config {
runtime = "nodejs16"
runtime = "nodejs22"
entry_point = "helloPubSub" # Set the entry point
environment_variables = {
BUILD_CONFIG_TEST = "build_test"
Expand Down