Skip to content

Commit 6cad691

Browse files
committed
Change lambda names due to conflict
1 parent c23eee7 commit 6cad691

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

infrastructure/api_mtls.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ resource "aws_api_gateway_deployment" "ndr_api_deploy_mtls" {
4343
aws_api_gateway_rest_api.ndr_doc_store_api_mtls,
4444
aws_api_gateway_resource.get_document_reference_mtls,
4545
module.get_document_reference_lambda,
46-
module.post_document_references_lambda,
46+
module.post_document_reference_lambda,
4747
module.search_document_references_lambda,
4848
]
4949

infrastructure/iam.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ data "aws_iam_policy_document" "assume_role_policy_for_create_lambda" {
2323
type = "AWS"
2424
identifiers = compact([
2525
module.create-doc-ref-lambda.lambda_execution_role_arn,
26-
local.is_production ? null : module.post_document_references_lambda.lambda_execution_role_arn
26+
local.is_production ? null : module.post_document_reference_lambda.lambda_execution_role_arn
2727
])
2828
}
2929
}

infrastructure/lambda-get-document-reference-fhir.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ resource "aws_api_gateway_method" "get_document_reference_mtls" {
1818

1919
module "get_document_reference_lambda" {
2020
source = "./modules/lambda"
21-
name = "GetDocumentReference"
21+
name = "GetDocumentReferenceFhir"
2222
handler = "handlers.get_document_reference_fhir_handler.lambda_handler"
2323
iam_role_policy_documents = [
2424
module.ndr-app-config.app_config_policy,

infrastructure/lambda-post-document-reference-fhir.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
module "post_document_references_lambda" {
1+
module "post_document_reference_lambda" {
22
source = "./modules/lambda"
3-
name = "PostDocumentReferences"
3+
name = "PostDocumentReferenceFhir"
44
handler = "handlers.post_document_reference_fhir_handler.lambda_handler"
55
iam_role_policy_documents = [
66
module.document_reference_dynamodb_table.dynamodb_write_policy_document,

infrastructure/lambda-search-document-references-fhir.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module "search_document_references_lambda" {
22
source = "./modules/lambda"
3-
name = "SearchDocumentReferences"
3+
name = "SearchDocumentReferenceFhir"
44
handler = "handlers.search_document_reference_fhir_handler.lambda_handler"
55
iam_role_policy_documents = [
66
module.document_reference_dynamodb_table.dynamodb_read_policy_document,

0 commit comments

Comments
 (0)