Skip to content

Commit dc9dba8

Browse files
Merge branch 'PRMP-1444' into PRMP-1445
2 parents fe57e41 + 3778a57 commit dc9dba8

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

infrastructure/dynamo_db.tf

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -607,31 +607,31 @@ module "user_restriction_table" {
607607
type = "S"
608608
},
609609
{
610-
name = "RestrictedSmartCardId"
610+
name = "RestrictedSmartCard"
611611
type = "S"
612612
},
613613
{
614614
name = "NhsNumber"
615615
type = "S"
616616
},
617617
{
618-
name = "OdsCode"
618+
name = "Custodian"
619619
type = "S"
620620
},
621621
{
622622
name = "Created"
623623
type = "N"
624624
},
625625
{
626-
name = "CreatorSmartCardId"
626+
name = "CreatorSmartCard"
627627
type = "S"
628628
}
629629
]
630630

631631
global_secondary_indexes = [
632632
{
633-
name = "RestrictedSmartCardIdIndex"
634-
hash_key = "RestrictedSmartCardId"
633+
name = "RestrictedSmartCardIndex"
634+
hash_key = "RestrictedSmartCard"
635635
range_key = "Created"
636636
projection_type = "ALL"
637637
},
@@ -642,20 +642,20 @@ module "user_restriction_table" {
642642
projection_type = "ALL"
643643
},
644644
{
645-
name = "OdsCodeNhsNumberIndex"
646-
hash_key = "OdsCode"
645+
name = "CustodianByNhsNumberIndex"
646+
hash_key = "Custodian"
647647
range_key = "NhsNumber"
648648
projection_type = "ALL"
649649
},
650650
{
651-
name = "OdsCodeSmartCardIdIndex"
652-
hash_key = "OdsCode"
653-
range_key = "RestrictedSmartCardId"
651+
name = "CustodianBySmartCardIndex"
652+
hash_key = "Custodian"
653+
range_key = "RestrictedSmartCard"
654654
projection_type = "ALL"
655655
},
656656
{
657657
name = "CreatorIndex"
658-
hash_key = "CreatorSmartCardId"
658+
hash_key = "CreatorSmartCard"
659659
range_key = "Created"
660660
projection_type = "ALL"
661661
}

0 commit comments

Comments
 (0)