File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -69,13 +69,13 @@ resource "aws_api_gateway_integration" "get_doc_fhir_lambda_integration" {
6969 http_method = " GET"
7070 integration_http_method = " POST"
7171 type = " AWS_PROXY"
72- uri = module. get-doc-fhir-lambda [ 0 ] . invoke_arn
72+ uri = module. get-doc-fhir-lambda . invoke_arn
7373}
7474
7575resource "aws_lambda_permission" "lambda_permission_get_mtls_api" {
7676 statement_id = " AllowAPImTLSGatewayInvoke"
7777 action = " lambda:InvokeFunction"
78- function_name = module. get-doc-fhir-lambda [ 0 ] . lambda_arn
78+ function_name = module. get-doc-fhir-lambda . lambda_arn
7979 principal = " apigateway.amazonaws.com"
8080 # The "/*/*" portion grants access from any method on any resource
8181 # within the API Gateway REST API.
Original file line number Diff line number Diff line change @@ -34,13 +34,13 @@ resource "aws_api_gateway_integration" "post_doc_fhir_lambda_integration" {
3434 http_method = " POST"
3535 integration_http_method = " POST"
3636 type = " AWS_PROXY"
37- uri = module. post-document-references-fhir-lambda [ 0 ] . invoke_arn
37+ uri = module. post-document-references-fhir-lambda . invoke_arn
3838}
3939
4040resource "aws_lambda_permission" "lambda_permission_post_mtls_api" {
4141 statement_id = " AllowAPImTLSGatewayInvoke"
4242 action = " lambda:InvokeFunction"
43- function_name = module. post-document-references-fhir-lambda [ 0 ] . lambda_arn
43+ function_name = module. post-document-references-fhir-lambda . lambda_arn
4444 principal = " apigateway.amazonaws.com"
4545 # The "/*/*" portion grants access from any method on any resource
4646 # within the API Gateway REST API.
Original file line number Diff line number Diff line change @@ -37,13 +37,13 @@ resource "aws_api_gateway_integration" "search_doc_fhir_lambda_integration" {
3737 http_method = " GET"
3838 integration_http_method = " POST"
3939 type = " AWS_PROXY"
40- uri = module. search-document-references-fhir-lambda [ 0 ] . invoke_arn
40+ uri = module. search-document-references-fhir-lambda . invoke_arn
4141}
4242
4343resource "aws_lambda_permission" "lambda_permission_search_mtls_api" {
4444 statement_id = " AllowMtlsApiGatewayInvoke"
4545 action = " lambda:InvokeFunction"
46- function_name = module. search-document-references-fhir-lambda [ 0 ] . lambda_arn
46+ function_name = module. search-document-references-fhir-lambda . lambda_arn
4747 principal = " apigateway.amazonaws.com"
4848 # The "/*/*" portion grants access from any method on any resource
4949 # within the API Gateway REST API.
You can’t perform that action at this time.
0 commit comments