Skip to content

Commit d6a26cd

Browse files
Add link to Cloud Functions runtimes official doc (#4775) (#3244)
- Add more examples: `nodejs14`, `java11`, `ruby26` - Remove deprecated runtiume from examples: `nodejs8` Co-authored-by: Nader Ghanbari <[email protected]> Signed-off-by: Modular Magician <[email protected]> Co-authored-by: Nader Ghanbari <[email protected]>
1 parent a279e40 commit d6a26cd

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.changelog/4775.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+
```

website/docs/r/cloudfunctions_function.html.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ resource "google_storage_bucket_object" "archive" {
3838
resource "google_cloudfunctions_function" "function" {
3939
name = "function-test"
4040
description = "My function"
41-
runtime = "nodejs12"
41+
runtime = "nodejs14"
4242
4343
available_memory_mb = 128
4444
source_archive_bucket = google_storage_bucket.bucket.name
@@ -74,7 +74,7 @@ resource "google_storage_bucket_object" "archive" {
7474
resource "google_cloudfunctions_function" "function" {
7575
name = "function-test"
7676
description = "My function"
77-
runtime = "nodejs12"
77+
runtime = "nodejs14"
7878
7979
available_memory_mb = 128
8080
source_archive_bucket = google_storage_bucket.bucket.name
@@ -109,7 +109,7 @@ The following arguments are supported:
109109
* `name` - (Required) A user-defined name of the function. Function names must be unique globally.
110110

111111
* `runtime` - (Required) The runtime in which the function is going to run.
112-
Eg. `"nodejs8"`, `"nodejs10"`, `"nodejs12"`, `"python37"`, `"python38"`,`"go111"`, `"go113"`.
112+
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.
113113

114114
- - -
115115

0 commit comments

Comments
 (0)