We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b879ed4 commit f4ed8d2Copy full SHA for f4ed8d2
2 files changed
infrastructure/terraform/components/api/iam_role_api_gateway_execution_role.tf
@@ -50,7 +50,8 @@ data "aws_iam_policy_document" "api_gateway_execution_policy" {
50
resources = [
51
module.authorizer_lambda.function_arn,
52
module.get_letters.function_arn,
53
- module.patch_letter.function_arn
+ module.patch_letter.function_arn,
54
+ module.get_letter_data.function_arn
55
]
56
}
57
infrastructure/terraform/components/api/locals.tf
@@ -9,7 +9,7 @@ locals {
9
AWS_REGION = var.region
10
AUTHORIZER_LAMBDA_ARN = module.authorizer_lambda.function_arn
11
GET_LETTERS_LAMBDA_ARN = module.get_letters.function_arn
12
- GET_LETTER_DATA_LAMBDA_ARN = module.get_letters.function_arn
+ GET_LETTER_DATA_LAMBDA_ARN = module.get_letter_data.function_arn
13
PATCH_LETTER_LAMBDA_ARN = module.patch_letter.function_arn
14
})
15
0 commit comments