Skip to content

Commit e6ba613

Browse files
committed
CCM-14325: Make PDM uploader use PDM mock
1 parent 121c589 commit e6ba613

18 files changed

Lines changed: 19 additions & 19 deletions

infrastructure/terraform/components/dl/aws_api_gateway_deployment_pdm_mock.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
resource "aws_api_gateway_deployment" "pdm_mock" {
2-
count = local.deploy_pdm_mock ? 1 : 0
2+
count = var.enable_pdm_mock ? 1 : 0
33

44
depends_on = [
55
aws_api_gateway_integration.create_document_reference,

infrastructure/terraform/components/dl/aws_api_gateway_integration_create_document_reference.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
resource "aws_api_gateway_integration" "create_document_reference" {
2-
count = local.deploy_pdm_mock ? 1 : 0
2+
count = var.enable_pdm_mock ? 1 : 0
33

44
rest_api_id = aws_api_gateway_rest_api.pdm_mock[0].id
55
resource_id = aws_api_gateway_resource.document_reference[0].id

infrastructure/terraform/components/dl/aws_api_gateway_integration_get_document_reference.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
resource "aws_api_gateway_integration" "get_document_reference" {
2-
count = local.deploy_pdm_mock ? 1 : 0
2+
count = var.enable_pdm_mock ? 1 : 0
33

44
rest_api_id = aws_api_gateway_rest_api.pdm_mock[0].id
55
resource_id = aws_api_gateway_resource.document_reference_id[0].id

infrastructure/terraform/components/dl/aws_api_gateway_method_create_document_reference.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
resource "aws_api_gateway_method" "create_document_reference" {
2-
count = local.deploy_pdm_mock ? 1 : 0
2+
count = var.enable_pdm_mock ? 1 : 0
33

44
rest_api_id = aws_api_gateway_rest_api.pdm_mock[0].id
55
resource_id = aws_api_gateway_resource.document_reference[0].id

infrastructure/terraform/components/dl/aws_api_gateway_method_get_document_reference.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
resource "aws_api_gateway_method" "get_document_reference" {
2-
count = local.deploy_pdm_mock ? 1 : 0
2+
count = var.enable_pdm_mock ? 1 : 0
33

44
rest_api_id = aws_api_gateway_rest_api.pdm_mock[0].id
55
resource_id = aws_api_gateway_resource.document_reference_id[0].id

infrastructure/terraform/components/dl/aws_api_gateway_resource_document_reference.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
resource "aws_api_gateway_resource" "document_reference" {
2-
count = local.deploy_pdm_mock ? 1 : 0
2+
count = var.enable_pdm_mock ? 1 : 0
33

44
rest_api_id = aws_api_gateway_rest_api.pdm_mock[0].id
55
parent_id = aws_api_gateway_resource.r4[0].id

infrastructure/terraform/components/dl/aws_api_gateway_resource_document_reference_id.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
resource "aws_api_gateway_resource" "document_reference_id" {
2-
count = local.deploy_pdm_mock ? 1 : 0
2+
count = var.enable_pdm_mock ? 1 : 0
33

44
rest_api_id = aws_api_gateway_rest_api.pdm_mock[0].id
55
parent_id = aws_api_gateway_resource.document_reference[0].id

infrastructure/terraform/components/dl/aws_api_gateway_resource_fhir.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
resource "aws_api_gateway_resource" "fhir" {
2-
count = local.deploy_pdm_mock ? 1 : 0
2+
count = var.enable_pdm_mock ? 1 : 0
33

44
rest_api_id = aws_api_gateway_rest_api.pdm_mock[0].id
55
parent_id = aws_api_gateway_resource.patient_data_manager[0].id

infrastructure/terraform/components/dl/aws_api_gateway_resource_patient_data_manager.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
resource "aws_api_gateway_resource" "patient_data_manager" {
2-
count = local.deploy_pdm_mock ? 1 : 0
2+
count = var.enable_pdm_mock ? 1 : 0
33

44
rest_api_id = aws_api_gateway_rest_api.pdm_mock[0].id
55
parent_id = aws_api_gateway_rest_api.pdm_mock[0].root_resource_id

infrastructure/terraform/components/dl/aws_api_gateway_resource_r4.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
resource "aws_api_gateway_resource" "r4" {
2-
count = local.deploy_pdm_mock ? 1 : 0
2+
count = var.enable_pdm_mock ? 1 : 0
33

44
rest_api_id = aws_api_gateway_rest_api.pdm_mock[0].id
55
parent_id = aws_api_gateway_resource.fhir[0].id

0 commit comments

Comments
 (0)