Skip to content

Commit e0ec7b5

Browse files
Update cloudfunctions runtimes and show nodejs16 (#6029) (#11694)
Signed-off-by: Modular Magician <[email protected]>
1 parent 4e0b4d7 commit e0ec7b5

4 files changed

+18
-15
lines changed

.changelog/6029.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

google/resource_clouddeploy_target_generated_test.go

+8-8
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ resource "google_clouddeploy_target" "primary" {
103103
}
104104
105105
labels = {
106-
my_first_label = "example-label-1"
107-
108106
my_second_label = "example-label-2"
107+
108+
my_first_label = "example-label-1"
109109
}
110110
111111
project = "%{project_name}"
@@ -175,9 +175,9 @@ resource "google_clouddeploy_target" "primary" {
175175
}
176176
177177
labels = {
178-
my_second_label = "updated-example-label-2"
179-
180178
my_third_label = "example-label-3"
179+
180+
my_second_label = "updated-example-label-2"
181181
}
182182
183183
project = "%{project_name}"
@@ -241,9 +241,9 @@ resource "google_clouddeploy_target" "primary" {
241241
name = "tf-test-target%{random_suffix}"
242242
243243
annotations = {
244-
my_third_annotation = "example-annotation-3"
245-
246244
my_second_annotation = "updated-example-annotation-2"
245+
246+
my_third_annotation = "example-annotation-3"
247247
}
248248
249249
description = "updated description"
@@ -267,9 +267,9 @@ resource "google_clouddeploy_target" "primary" {
267267
}
268268
269269
labels = {
270-
my_second_label = "updated-example-label-2"
271-
272270
my_third_label = "example-label-3"
271+
272+
my_second_label = "updated-example-label-2"
273273
}
274274
275275
project = "%{project_name}"

website/docs/r/clouddeploy_delivery_pipeline.html.markdown

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@ resource "google_clouddeploy_delivery_pipeline" "primary" {
3333
name = "pipeline"
3434
3535
annotations = {
36-
my_first_annotation = "example-annotation-1"
37-
3836
my_second_annotation = "example-annotation-2"
37+
38+
my_first_annotation = "example-annotation-1"
3939
}
4040
4141
description = "basic description"
4242
4343
labels = {
44-
my_first_label = "example-label-1"
45-
4644
my_second_label = "example-label-2"
45+
46+
my_first_label = "example-label-1"
4747
}
4848
4949
project = "my-project-name"

website/docs/r/cloudfunctions_function.html.markdown

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ resource "google_storage_bucket_object" "archive" {
3939
resource "google_cloudfunctions_function" "function" {
4040
name = "function-test"
4141
description = "My function"
42-
runtime = "nodejs14"
42+
runtime = "nodejs16"
4343
4444
available_memory_mb = 128
4545
source_archive_bucket = google_storage_bucket.bucket.name
@@ -76,7 +76,7 @@ resource "google_storage_bucket_object" "archive" {
7676
resource "google_cloudfunctions_function" "function" {
7777
name = "function-test"
7878
description = "My function"
79-
runtime = "nodejs14"
79+
runtime = "nodejs16"
8080
8181
available_memory_mb = 128
8282
source_archive_bucket = google_storage_bucket.bucket.name
@@ -111,7 +111,7 @@ The following arguments are supported:
111111
* `name` - (Required) A user-defined name of the function. Function names must be unique globally.
112112

113113
* `runtime` - (Required) The runtime in which the function is going to run.
114-
Eg. `"nodejs10"`, `"nodejs12"`, `"nodejs14"`, `"python37"`, `"python38"`, `"python39"`, `"dotnet3"`, `"go113"`, `"java11"`, `"ruby27"`, etc. Check the [official doc](https://cloud.google.com/functions/docs/concepts/exec#runtimes) for the up-to-date list.
114+
Eg. `"nodejs16"`, `"python39"`, `"dotnet3"`, `"go116"`, `"java11"`, `"ruby30"`, `"php74"`, etc. Check the [official doc](https://cloud.google.com/functions/docs/concepts/exec#runtimes) for the up-to-date list.
115115

116116
- - -
117117

0 commit comments

Comments
 (0)