Skip to content

Commit

Permalink
Add task
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Woffenden <[email protected]>
  • Loading branch information
jacobwoffenden committed Nov 13, 2024
1 parent 1d0075b commit fa0b17d
Showing 1 changed file with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
resource "aws_datasync_task" "dom1_hq_pgo_shared_group_sis_case_management_investigations" {
name = "dom1-hq-pgo-shared-group-sis-case-management-investigations"
source_location_arn = aws_datasync_location_smb.dom1_hq_pgo_shared_group_sis_case_management_investigations.arn
destination_location_arn = aws_datasync_location_s3.dom1_hq_pgo_shared_group_sis_case_management_investigations.arn

task_report_config {
report_level = "SUCCESSES_AND_ERRORS"
output_type = "STANDARD"
s3_object_versioning = "INCLUDE"

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/"
}
}

tags = local.tags
}

0 comments on commit fa0b17d

Please sign in to comment.