Skip to content

Commit a949aaa

Browse files
committed
Explicitly set runtime
1 parent c7502b9 commit a949aaa

File tree

2 files changed

+2
-0
lines changed
  • examples
    • automatic-labelling-from-localhost
    • automatic-labelling-from-repository

2 files changed

+2
-0
lines changed

examples/automatic-labelling-from-localhost/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ module "localhost_function" {
6161
project_id = "${var.project_id}"
6262
region = "${var.region}"
6363
source_directory = "${path.module}/function_source"
64+
runtime = "nodejs6"
6465
}
6566

6667
resource "null_resource" "wait_for_function" {

examples/automatic-labelling-from-repository/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ module "repository_function" {
8080

8181
description = "Labels resource with owner information."
8282
entry_point = "labelResource"
83+
runtime = "nodejs6"
8384

8485
environment_variables = {
8586
LABEL_KEY = "principal-email"

0 commit comments

Comments
 (0)