From f4c5b9fadae241533594f5d8bcb86339402c7a30 Mon Sep 17 00:00:00 2001 From: clint shryock Date: Thu, 5 Jan 2017 11:24:17 -0600 Subject: [PATCH] provider/aws: Update lambda_function with runtime for tests --- .../providers/aws/resource_aws_api_gateway_authorizer_test.go | 1 + builtin/providers/aws/resource_aws_api_gateway_method_test.go | 1 + 2 files changed, 2 insertions(+) diff --git a/builtin/providers/aws/resource_aws_api_gateway_authorizer_test.go b/builtin/providers/aws/resource_aws_api_gateway_authorizer_test.go index 3eb89e636..cf7d4ac6a 100644 --- a/builtin/providers/aws/resource_aws_api_gateway_authorizer_test.go +++ b/builtin/providers/aws/resource_aws_api_gateway_authorizer_test.go @@ -295,6 +295,7 @@ resource "aws_lambda_function" "authorizer" { function_name = "tf_acc_api_gateway_authorizer" role = "${aws_iam_role.iam_for_lambda.arn}" handler = "exports.example" + runtime = "nodejs4.3" } ` diff --git a/builtin/providers/aws/resource_aws_api_gateway_method_test.go b/builtin/providers/aws/resource_aws_api_gateway_method_test.go index 4183838b7..18bc791ff 100644 --- a/builtin/providers/aws/resource_aws_api_gateway_method_test.go +++ b/builtin/providers/aws/resource_aws_api_gateway_method_test.go @@ -261,6 +261,7 @@ resource "aws_lambda_function" "authorizer" { function_name = "tf_acc_api_gateway_authorizer" role = "${aws_iam_role.iam_for_lambda.arn}" handler = "exports.example" + runtime = "nodejs4.3" } resource "aws_api_gateway_authorizer" "test" {