Skip to content

Commit

Permalink
Update cloudfunctions runtimes and show nodejs16 (#6029) (#4307)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored May 12, 2022
1 parent ba4e403 commit c1aaa35
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 13 deletions.
3 changes: 3 additions & 0 deletions .changelog/6029.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 @@ -75,9 +75,9 @@ resource "google_clouddeploy_delivery_pipeline" "primary" {
description = "basic description"
labels = {
my_second_label = "example-label-2"
my_first_label = "example-label-1"
my_second_label = "example-label-2"
}
project = "%{project_name}"
Expand Down
12 changes: 6 additions & 6 deletions google-beta/resource_clouddeploy_target_generated_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,9 @@ resource "google_clouddeploy_target" "primary" {
name = "tf-test-target%{random_suffix}"
annotations = {
my_third_annotation = "example-annotation-3"
my_second_annotation = "updated-example-annotation-2"
my_third_annotation = "example-annotation-3"
}
description = "updated description"
Expand All @@ -221,9 +221,9 @@ resource "google_clouddeploy_target" "primary" {
}
labels = {
my_third_label = "example-label-3"
my_second_label = "updated-example-label-2"
my_third_label = "example-label-3"
}
project = "%{project_name}"
Expand All @@ -241,9 +241,9 @@ resource "google_clouddeploy_target" "primary" {
name = "tf-test-target%{random_suffix}"
annotations = {
my_second_annotation = "updated-example-annotation-2"
my_third_annotation = "example-annotation-3"
my_second_annotation = "updated-example-annotation-2"
}
description = "updated description"
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/clouddeploy_delivery_pipeline.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ resource "google_clouddeploy_delivery_pipeline" "primary" {
description = "basic description"
labels = {
my_second_label = "example-label-2"
my_first_label = "example-label-1"
my_second_label = "example-label-2"
}
project = "my-project-name"
Expand Down
6 changes: 3 additions & 3 deletions website/docs/r/cloudfunctions_function.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ resource "google_storage_bucket_object" "archive" {
resource "google_cloudfunctions_function" "function" {
name = "function-test"
description = "My function"
runtime = "nodejs14"
runtime = "nodejs16"
available_memory_mb = 128
source_archive_bucket = google_storage_bucket.bucket.name
Expand Down Expand Up @@ -76,7 +76,7 @@ resource "google_storage_bucket_object" "archive" {
resource "google_cloudfunctions_function" "function" {
name = "function-test"
description = "My function"
runtime = "nodejs14"
runtime = "nodejs16"
available_memory_mb = 128
source_archive_bucket = google_storage_bucket.bucket.name
Expand Down Expand Up @@ -111,7 +111,7 @@ The following arguments are supported:
* `name` - (Required) A user-defined name of the function. Function names must be unique globally.

* `runtime` - (Required) The runtime in which the function is going to run.
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.
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.

- - -

Expand Down

0 comments on commit c1aaa35

Please sign in to comment.