Skip to content

Commit 787717e

Browse files
update cloudfunctionv2 test runtimes to nodejs18 (#11222) (#7834)
[upstream:6f3631981d4f9d48602e7c530d2b91f9e973a552] Signed-off-by: Modular Magician <[email protected]>
1 parent 1fa5e71 commit 787717e

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

.changelog/11222.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

google-beta/services/cloudfunctions2/data_source_google_cloudfunctions2_function_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ resource "google_cloudfunctions2_function" "function_http_v2" {
6464
env = "test"
6565
}
6666
build_config {
67-
runtime = "nodejs12"
67+
runtime = "nodejs18"
6868
entry_point = "helloHttp"
6969
source {
7070
storage_source {

google-beta/services/cloudfunctions2/resource_cloudfunctions2_function_test.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ resource "google_cloudfunctions2_function" "terraform-test2" {
7777
}
7878
7979
build_config {
80-
runtime = "nodejs12"
80+
runtime = "nodejs18"
8181
entry_point = "helloHttp"
8282
source {
8383
storage_source {
@@ -119,7 +119,7 @@ resource "google_cloudfunctions2_function" "terraform-test2" {
119119
}
120120
121121
build_config {
122-
runtime = "nodejs12"
122+
runtime = "nodejs18"
123123
entry_point = "helloHttp"
124124
source {
125125
storage_source {
@@ -157,7 +157,7 @@ resource "google_cloudfunctions2_function" "terraform-test2" {
157157
description = "function test"
158158
159159
build_config {
160-
runtime = "nodejs16"
160+
runtime = "nodejs18"
161161
entry_point = "helloHttp"
162162
environment_variables = {
163163
BUILD_CONFIG_TEST = "build_test"
@@ -276,7 +276,7 @@ resource "google_cloudfunctions2_function" "function" {
276276
description = "a new function"
277277
278278
build_config {
279-
runtime = "nodejs12"
279+
runtime = "nodejs18"
280280
entry_point = "entryPoint" # Set the entry point in the code
281281
environment_variables = {
282282
BUILD_CONFIG_TEST = "build_test"
@@ -390,7 +390,7 @@ resource "google_cloudfunctions2_function" "terraform-test2" {
390390
}
391391
392392
build_config {
393-
runtime = "nodejs12"
393+
runtime = "nodejs18"
394394
entry_point = "helloHttp"
395395
source {
396396
storage_source {
@@ -433,7 +433,7 @@ resource "google_cloudfunctions2_function" "terraform-test2" {
433433
}
434434
435435
build_config {
436-
runtime = "nodejs12"
436+
runtime = "nodejs18"
437437
entry_point = "helloHttp"
438438
source {
439439
storage_source {
@@ -474,7 +474,7 @@ resource "google_cloudfunctions2_function" "terraform-test2" {
474474
}
475475
476476
build_config {
477-
runtime = "nodejs12"
477+
runtime = "nodejs18"
478478
entry_point = "helloHttp"
479479
source {
480480
storage_source {

0 commit comments

Comments
 (0)