Skip to content

Commit 7188637

Browse files
committed
[NDR-97] move gateway doc ref to new file
1 parent 75207f7 commit 7188637

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module "document_reference_gateway" {
2+
source = "./modules/gateway"
3+
api_gateway_id = aws_api_gateway_rest_api.ndr_doc_store_api.id
4+
parent_id = aws_api_gateway_rest_api.ndr_doc_store_api.root_resource_id
5+
http_methods = ["POST", "GET"]
6+
authorization = "NONE"
7+
api_key_required = true
8+
gateway_path = "DocumentReference"
9+
require_credentials = true
10+
}

infrastructure/lambda-post-document-fhir.tf

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
1-
module "document_reference_gateway" {
2-
source = "./modules/gateway"
3-
api_gateway_id = aws_api_gateway_rest_api.ndr_doc_store_api.id
4-
parent_id = aws_api_gateway_rest_api.ndr_doc_store_api.root_resource_id
5-
http_methods = ["POST", "GET"]
6-
authorization = "NONE"
7-
api_key_required = true
8-
gateway_path = "DocumentReference"
9-
require_credentials = true
10-
}
11-
12-
131
module "post-document-references-fhir-lambda" {
142
count = local.is_production ? 0 : 1
153
source = "./modules/lambda"

0 commit comments

Comments
 (0)