provider/aws: Update lambda_function with runtime for tests
This commit is contained in:
parent
6cd358e115
commit
f4c5b9fada
|
@ -295,6 +295,7 @@ resource "aws_lambda_function" "authorizer" {
|
||||||
function_name = "tf_acc_api_gateway_authorizer"
|
function_name = "tf_acc_api_gateway_authorizer"
|
||||||
role = "${aws_iam_role.iam_for_lambda.arn}"
|
role = "${aws_iam_role.iam_for_lambda.arn}"
|
||||||
handler = "exports.example"
|
handler = "exports.example"
|
||||||
|
runtime = "nodejs4.3"
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
|
|
|
@ -261,6 +261,7 @@ resource "aws_lambda_function" "authorizer" {
|
||||||
function_name = "tf_acc_api_gateway_authorizer"
|
function_name = "tf_acc_api_gateway_authorizer"
|
||||||
role = "${aws_iam_role.iam_for_lambda.arn}"
|
role = "${aws_iam_role.iam_for_lambda.arn}"
|
||||||
handler = "exports.example"
|
handler = "exports.example"
|
||||||
|
runtime = "nodejs4.3"
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "aws_api_gateway_authorizer" "test" {
|
resource "aws_api_gateway_authorizer" "test" {
|
||||||
|
|
Loading…
Reference in New Issue