File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,9 @@ module "document_reference_gateway" {
33 source = " ./modules/gateway"
44 api_gateway_id = aws_api_gateway_rest_api. ndr_doc_store_api . id
55 parent_id = aws_api_gateway_rest_api. ndr_doc_store_api . root_resource_id
6- http_methods = [" POST" , " GET " ]
6+ http_methods = [" POST" ]
77 authorization = " NONE"
88 api_key_required = true
99 gateway_path = " DocumentReference"
1010 require_credentials = true
11- depends_on = [aws_api_gateway_method . get_document_references_fhir ]
1211}
Original file line number Diff line number Diff line change 1+ resource "aws_api_gateway_method" "get_document_references_fhir" {
2+ count = local. is_production ? 0 : 1
3+ rest_api_id = aws_api_gateway_rest_api. ndr_doc_store_api . id
4+ resource_id = module. document_reference_gateway . gateway_resource_id
5+ http_method = " GET"
6+ authorization = " NONE"
7+ api_key_required = true
8+ }
9+
10+
111module "search-document-references-fhir-lambda" {
212 count = local. is_production ? 0 : 1
313 source = " ./modules/lambda"
You can’t perform that action at this time.
0 commit comments