File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11resource "aws_api_gateway_method" "get_document_references_fhir" {
22 count = local. is_production ? 0 : 1
33 rest_api_id = aws_api_gateway_rest_api. ndr_doc_store_api . id
4- resource_id = module. document_reference_gateway . gateway_resource_id
4+ resource_id = module. document_reference_gateway [ 0 ] . gateway_resource_id
55 http_method = " GET"
66 authorization = " NONE"
77 api_key_required = true
@@ -23,7 +23,7 @@ module "search-document-references-fhir-lambda" {
2323 module . ndr-app-config . app_config_policy
2424 ]
2525 rest_api_id = aws_api_gateway_rest_api. ndr_doc_store_api . id
26- resource_id = module. document_reference_gateway . gateway_resource_id
26+ resource_id = module. document_reference_gateway [ 0 ] . gateway_resource_id
2727 http_methods = [" GET" ]
2828 api_execution_arn = aws_api_gateway_rest_api. ndr_doc_store_api . execution_arn
2929 lambda_environment_variables = {
You can’t perform that action at this time.
0 commit comments