Skip to content

Commit 0890f44

Browse files
committed
[PRM-898] Add Example for a copyable resource to helper suppliers onboard
1 parent 55127ca commit 0890f44

9 files changed

Lines changed: 17 additions & 0 deletions

infrastructure/buckets.tf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,3 +543,12 @@ resource "aws_s3_bucket_lifecycle_configuration" "ses_feedback_lifecycle_rules"
543543
}
544544
}
545545
}
546+
547+
resource "aws_s3_object" "sample_ingestion_files" {
548+
for_each = { for f in fileset("${path.module}/sample_ingestion_setup", "**") : f => f }
549+
550+
bucket = module.ndr-bulk-staging-store.bucket_id
551+
key = each.value
552+
source = "${path.module}/sample_ingestion_setup/${each.value}"
553+
etag = filemd5("${path.module}/sample_ingestion_setup/${each.value}")
554+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FILEPATH,PAGE COUNT,GP-PRACTICE-CODE,NHS-NO,SECTION,SUB-SECTION,SCAN-DATE,SCAN-ID,USER-ID,UPLOAD
2+
/9000000001/1of1_Lloyd_George_Record_[Jim Stevens]_[9000000001]_[22-10-2010].pdf,2,A20047,9000000001,LG,,01/01/2023,PROVIDER,PROVIDER,19/09/2024
3+
/9000000002/1of1_Lloyd_George_Record_[Jane Smith]_[9000000002]_[22-10-2010].pdf,100,A20047,9000000002,LG,,01/01/2023,PROVIDER,PROVIDER,19/09/2024
4+
/9000000003/1of1_Lloyd_George_Record_[Jim Stevens]_[9000000003]_[22-10-2010].pdf,1,A20047,9000000003,LG,,01/01/2023,PROVIDER,PROVIDER,19/09/2024
5+
/9000000005/1of2_Lloyd_George_Record_[Jim Stevens]_[9000000005]_[22-10-2010].pdf,2,A20047,9000000005,LG,,01/01/2023,PROVIDER,PROVIDER,19/09/2024
6+
/9000000005/2of2_Lloyd_George_Record_[Jim Stevens]_[9000000005]_[22-10-2010].pdf,2,A20047,9000000005,LG,,01/01/2023,PROVIDER,PROVIDER,19/09/2024
7+
/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
8+
/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

0 commit comments

Comments
 (0)