From 2acf7732e9c91c8ad47a31321209843ecb21ad91 Mon Sep 17 00:00:00 2001 From: vggonzal <9Tcostoamm> Date: Wed, 16 Aug 2023 12:57:56 -0700 Subject: [PATCH] creating a new testing set of resources --- terraform/hydrocron-main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/hydrocron-main.tf b/terraform/hydrocron-main.tf index 8b07082..359a545 100644 --- a/terraform/hydrocron-main.tf +++ b/terraform/hydrocron-main.tf @@ -61,7 +61,7 @@ resource "aws_lambda_function" "hydrocron_api_lambda_test" { resource "aws_lambda_permission" "allow_hydrocron-test" { statement_id = "AllowAPIGatewayInvoke" action = "lambda:InvokeFunction" - function_name = aws_lambda_function.hydrocron_api_lambda-test.function_name + function_name = aws_lambda_function.hydrocron_api_lambda_test.function_name principal = "apigateway.amazonaws.com" # The "/*/*/*" portion grants access from any method on any resource