From a80f7733ffc9338bd15ba0d769e2e4ac869c4139 Mon Sep 17 00:00:00 2001 From: Jacob Woffenden Date: Wed, 13 Nov 2024 18:19:02 +0000 Subject: [PATCH] update locations in bucket Signed-off-by: Jacob Woffenden --- .../analytical-platform-ingestion/datasync-locations.tf | 4 ++-- .../analytical-platform-ingestion/datasync-tasks.tf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/terraform/environments/analytical-platform-ingestion/datasync-locations.tf b/terraform/environments/analytical-platform-ingestion/datasync-locations.tf index bf7eff7a03b..907bce09625 100644 --- a/terraform/environments/analytical-platform-ingestion/datasync-locations.tf +++ b/terraform/environments/analytical-platform-ingestion/datasync-locations.tf @@ -12,7 +12,7 @@ resource "aws_datasync_location_smb" "dom1_hq_pgo_shared_group_sis_case_manageme resource "aws_datasync_location_s3" "dom1_hq_pgo_shared_group_sis_case_management_investigations" { s3_bucket_arn = module.datasync_bucket.s3_bucket_arn - subdirectory = "/dom1/data/hq/pgo/shared/group/sis-case-management/investigations/" + subdirectory = "datasync/dom1/data/hq/pgo/shared/group/sis-case-management/investigations/" s3_config { bucket_access_role_arn = module.datasync_iam_role.iam_role_arn @@ -35,7 +35,7 @@ resource "aws_datasync_location_smb" "dom1_hq_pgo_shared_group_sis_case_manageme resource "aws_datasync_location_s3" "dom1_hq_pgo_shared_group_sis_case_management_itas" { s3_bucket_arn = module.datasync_bucket.s3_bucket_arn - subdirectory = "/dom1/data/hq/pgo/shared/group/sis-case-management/itas/" + subdirectory = "datasync/dom1/data/hq/pgo/shared/group/sis-case-management/itas/" s3_config { bucket_access_role_arn = module.datasync_iam_role.iam_role_arn diff --git a/terraform/environments/analytical-platform-ingestion/datasync-tasks.tf b/terraform/environments/analytical-platform-ingestion/datasync-tasks.tf index e87e5f6e6be..890b6172cf1 100644 --- a/terraform/environments/analytical-platform-ingestion/datasync-tasks.tf +++ b/terraform/environments/analytical-platform-ingestion/datasync-tasks.tf @@ -11,7 +11,7 @@ resource "aws_datasync_task" "dom1_hq_pgo_shared_group_sis_case_management_inves s3_destination { bucket_access_role_arn = module.datasync_iam_role.iam_role_arn s3_bucket_arn = module.datasync_bucket.s3_bucket_arn - subdirectory = "reports/dom1/hq/pgo/shared/group/sis-case-management/investigations/" + subdirectory = "datasync/reports/dom1/hq/pgo/shared/group/sis-case-management/investigations/" } }