Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions infrastructure/buckets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -543,3 +543,12 @@ resource "aws_s3_bucket_lifecycle_configuration" "ses_feedback_lifecycle_rules"
}
}
}

resource "aws_s3_object" "sample_ingestion_files" {
for_each = { for f in fileset("${path.module}/sample_ingestion_setup", "**") : f => f }

bucket = module.ndr-bulk-staging-store.bucket_id
key = each.value
source = "${path.module}/sample_ingestion_setup/${each.value}"
etag = filemd5("${path.module}/sample_ingestion_setup/${each.value}")
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
8 changes: 8 additions & 0 deletions infrastructure/sample_ingestion_setup/A20047/metadata.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FILEPATH,PAGE COUNT,GP-PRACTICE-CODE,NHS-NO,SECTION,SUB-SECTION,SCAN-DATE,SCAN-ID,USER-ID,UPLOAD
9000000001/1of1_Lloyd_George_Record_[Jim Stevens]_[9000000001]_[22-10-2010].pdf,2,A20047,9000000001,LG,,01/01/2023,PROVIDER,PROVIDER,19/09/2024
9000000002/1of1_Lloyd_George_Record_[Jane Smith]_[9000000002]_[22-10-2010].pdf,100,A20047,9000000002,LG,,01/01/2023,PROVIDER,PROVIDER,19/09/2024
9000000003/1of1_Lloyd_George_Record_[Jim Stevens]_[9000000003]_[22-10-2010].pdf,1,A20047,9000000003,LG,,01/01/2023,PROVIDER,PROVIDER,19/09/2024
9000000005/1of2_Lloyd_George_Record_[Jim Stevens]_[9000000005]_[22-10-2010].pdf,2,A20047,9000000005,LG,,01/01/2023,PROVIDER,PROVIDER,19/09/2024
9000000005/2of2_Lloyd_George_Record_[Jim Stevens]_[9000000005]_[22-10-2010].pdf,2,A20047,9000000005,LG,,01/01/2023,PROVIDER,PROVIDER,19/09/2024
UNKNOWN_NHS/1of1_Lloyd_George_Record_[Sarah Mackleson]_[0000000001]_[01-01-2010].pdf,2,A20047,1,LG,,01/01/2023,PROVIDER,PROVIDER,19/09/2024
UNKNOWN_NHS/1of1_Lloyd_George_Record_[Kevin Jones]_[0000000002]_[01-01-1990].pdf,2,A20047,2,LG,,01/01/2023,PROVIDER,PROVIDER,19/09/2024
Loading