File tree Expand file tree Collapse file tree 3 files changed +44
-0
lines changed
Expand file tree Collapse file tree 3 files changed +44
-0
lines changed Original file line number Diff line number Diff line change @@ -415,6 +415,24 @@ module "ndr-configs-store" {
415415 force_destroy = local. is_force_destroy
416416}
417417
418+ resource "aws_s3_object" "metadata_aliases_general" {
419+ bucket = module. ndr-configs-store . bucket_id
420+ key = " metadata_aliases/general/general.json"
421+
422+ source = " ${ path . module } /modules/aliases_config/general/general.json"
423+ etag = filemd5 (" ${ path . module } /modules/aliases_config/general/general.json" )
424+ content_type = " application/json"
425+ }
426+
427+ resource "aws_s3_object" "metadata_aliases_usb" {
428+ bucket = module. ndr-configs-store . bucket_id
429+ key = " metadata_aliases/usb/usb.json"
430+
431+ source = " ${ path . module } /modules/aliases_config/usb/usb.json"
432+ etag = filemd5 (" ${ path . module } /modules/aliases_config/usb/usb.json" )
433+ content_type = " application/json"
434+ }
435+
418436resource "aws_s3_bucket_lifecycle_configuration" "configs-store-lifecycle-rules" {
419437 bucket = module. ndr-configs-store . bucket_id
420438
Original file line number Diff line number Diff line change 1+ {
2+ "owner" : " Current general aliases" ,
3+ "file_path" : " FILEPATH" ,
4+ "page_count" : " PAGE COUNT" ,
5+ "gp_practice_code" : " GP-PRACTICE-CODE" ,
6+ "nhs_number" : " NHS-NO" ,
7+ "section" : " SECTION" ,
8+ "sub_section" : " SUB-SECTION" ,
9+ "scan_date" : " SCAN-DATE" ,
10+ "scan_id" : " SCAN-ID" ,
11+ "user_id" : " USER-ID" ,
12+ "upload" : " UPLOAD"
13+ }
Original file line number Diff line number Diff line change 1+ {
2+ "owner" : " Current USB aliases" ,
3+ "file_path" : " File Path" ,
4+ "page_count" : " PageCount" ,
5+ "gp_practice_code" : " Practice Code" ,
6+ "nhs_number" : " NHS Number" ,
7+ "section" : " Folder" ,
8+ "sub_section" : " Subfolder" ,
9+ "scan_date" : " Scan Date" ,
10+ "scan_id" : " Scan Id" ,
11+ "user_id" : " User" ,
12+ "upload" : " Upload Date"
13+ }
You can’t perform that action at this time.
0 commit comments