Skip to content

Commit

Permalink
update cloudfunctionv2 test runtimes to nodejs18 (#11222) (#18901)
Browse files Browse the repository at this point in the history
[upstream:6f3631981d4f9d48602e7c530d2b91f9e973a552]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Jul 30, 2024
1 parent 4d74ea5 commit ad7ee9f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .changelog/11222.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ resource "google_cloudfunctions2_function" "function_http_v2" {
env = "test"
}
build_config {
runtime = "nodejs12"
runtime = "nodejs18"
entry_point = "helloHttp"
source {
storage_source {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ resource "google_cloudfunctions2_function" "terraform-test2" {
}
build_config {
runtime = "nodejs12"
runtime = "nodejs18"
entry_point = "helloHttp"
source {
storage_source {
Expand Down Expand Up @@ -119,7 +119,7 @@ resource "google_cloudfunctions2_function" "terraform-test2" {
}
build_config {
runtime = "nodejs12"
runtime = "nodejs18"
entry_point = "helloHttp"
source {
storage_source {
Expand Down Expand Up @@ -157,7 +157,7 @@ resource "google_cloudfunctions2_function" "terraform-test2" {
description = "function test"
build_config {
runtime = "nodejs16"
runtime = "nodejs18"
entry_point = "helloHttp"
environment_variables = {
BUILD_CONFIG_TEST = "build_test"
Expand Down Expand Up @@ -276,7 +276,7 @@ resource "google_cloudfunctions2_function" "function" {
description = "a new function"
build_config {
runtime = "nodejs12"
runtime = "nodejs18"
entry_point = "entryPoint" # Set the entry point in the code
environment_variables = {
BUILD_CONFIG_TEST = "build_test"
Expand Down Expand Up @@ -390,7 +390,7 @@ resource "google_cloudfunctions2_function" "terraform-test2" {
}
build_config {
runtime = "nodejs12"
runtime = "nodejs18"
entry_point = "helloHttp"
source {
storage_source {
Expand Down Expand Up @@ -433,7 +433,7 @@ resource "google_cloudfunctions2_function" "terraform-test2" {
}
build_config {
runtime = "nodejs12"
runtime = "nodejs18"
entry_point = "helloHttp"
source {
storage_source {
Expand Down Expand Up @@ -474,7 +474,7 @@ resource "google_cloudfunctions2_function" "terraform-test2" {
}
build_config {
runtime = "nodejs12"
runtime = "nodejs18"
entry_point = "helloHttp"
source {
storage_source {
Expand Down

0 comments on commit ad7ee9f

Please sign in to comment.