@@ -64,131 +64,13 @@ Resources:
64
64
WriteCapacityUnits : " 5"
65
65
TableName : !Ref TableName
66
66
67
- BasicTestJavaTable :
68
- Type : AWS::DynamoDB::Table
69
- Properties :
70
- AttributeDefinitions :
71
- - AttributeName : " partition_key"
72
- AttributeType : " S"
73
- - AttributeName : " sort_key"
74
- AttributeType : " N"
75
- KeySchema :
76
- - AttributeName : " partition_key"
77
- KeyType : " HASH"
78
- - AttributeName : " sort_key"
79
- KeyType : " RANGE"
80
- ProvisionedThroughput :
81
- ReadCapacityUnits : " 5"
82
- WriteCapacityUnits : " 5"
83
- TableName : !Ref BasicTestJavaTableName
84
-
85
- BasicTestDotnetTable :
86
- Type : AWS::DynamoDB::Table
87
- Properties :
88
- AttributeDefinitions :
89
- - AttributeName : " partition_key"
90
- AttributeType : " S"
91
- - AttributeName : " sort_key"
92
- AttributeType : " N"
93
- KeySchema :
94
- - AttributeName : " partition_key"
95
- KeyType : " HASH"
96
- - AttributeName : " sort_key"
97
- KeyType : " RANGE"
98
- ProvisionedThroughput :
99
- ReadCapacityUnits : " 5"
100
- WriteCapacityUnits : " 5"
101
- TableName : !Ref BasicTestDotnetTableName
102
-
103
- SearchTestJavaTable :
104
- Type : AWS::DynamoDB::Table
105
- Properties :
106
- AttributeDefinitions :
107
- - AttributeName : " aws_dbe_b_inspector_id_last4"
108
- AttributeType : " S"
109
- - AttributeName : " aws_dbe_b_last4UnitCompound"
110
- AttributeType : " S"
111
- - AttributeName : " aws_dbe_b_unit"
112
- AttributeType : " S"
113
- - AttributeName : " inspection_date"
114
- AttributeType : " S"
115
- - AttributeName : " work_id"
116
- AttributeType : " S"
117
- KeySchema :
118
- - AttributeName : " work_id"
119
- KeyType : " HASH"
120
- - AttributeName : " inspection_date"
121
- KeyType : " RANGE"
122
- ProvisionedThroughput :
123
- ReadCapacityUnits : " 5"
124
- WriteCapacityUnits : " 5"
125
- TableName : !Ref SearchTestJavaTableName
126
- GlobalSecondaryIndexes :
127
- - IndexName : " last4-unit-index"
128
- KeySchema :
129
- - AttributeName : " aws_dbe_b_inspector_id_last4"
130
- KeyType : " HASH"
131
- - AttributeName : " aws_dbe_b_unit"
132
- KeyType : " RANGE"
133
- Projection :
134
- ProjectionType : ALL
135
- ProvisionedThroughput :
136
- ReadCapacityUnits : " 5"
137
- WriteCapacityUnits : " 5"
138
- - IndexName : " last4UnitCompound-index"
139
- KeySchema :
140
- - AttributeName : " aws_dbe_b_last4UnitCompound"
141
- KeyType : " HASH"
142
- Projection :
143
- ProjectionType : ALL
144
- ProvisionedThroughput :
145
- ReadCapacityUnits : " 5"
146
- WriteCapacityUnits : " 5"
147
-
148
- SearchTestDotnetTable :
149
- Type : AWS::DynamoDB::Table
150
- Properties :
151
- AttributeDefinitions :
152
- - AttributeName : " aws_dbe_b_inspector_id_last4"
153
- AttributeType : " S"
154
- - AttributeName : " aws_dbe_b_last4UnitCompound"
155
- AttributeType : " S"
156
- - AttributeName : " aws_dbe_b_unit"
157
- AttributeType : " S"
158
- - AttributeName : " inspection_date"
159
- AttributeType : " S"
160
- - AttributeName : " work_id"
161
- AttributeType : " S"
162
- KeySchema :
163
- - AttributeName : " work_id"
164
- KeyType : " HASH"
165
- - AttributeName : " inspection_date"
166
- KeyType : " RANGE"
167
- ProvisionedThroughput :
168
- ReadCapacityUnits : " 5"
169
- WriteCapacityUnits : " 5"
170
- TableName : !Ref SearchTestDotnetTableName
171
- GlobalSecondaryIndexes :
172
- - IndexName : " last4-unit-index"
173
- KeySchema :
174
- - AttributeName : " aws_dbe_b_inspector_id_last4"
175
- KeyType : " HASH"
176
- - AttributeName : " aws_dbe_b_unit"
177
- KeyType : " RANGE"
178
- Projection :
179
- ProjectionType : ALL
180
- ProvisionedThroughput :
181
- ReadCapacityUnits : " 5"
182
- WriteCapacityUnits : " 5"
183
- - IndexName : " last4UnitCompound-index"
184
- KeySchema :
185
- - AttributeName : " aws_dbe_b_last4UnitCompound"
186
- KeyType : " HASH"
187
- Projection :
188
- ProjectionType : ALL
189
- ProvisionedThroughput :
190
- ReadCapacityUnits : " 5"
191
- WriteCapacityUnits : " 5"
67
+ # These tables were manually created but not used in CI
68
+ # If we have to start using them in CI we just have to add
69
+ # them to the policy below.
70
+ # BasicTestJavaTable:
71
+ # BasicTestDotnetTable:
72
+ # SearchTestJavaTable:
73
+ # SearchTestDotnetTable:
192
74
193
75
TestTableWithSimpleBeaconIndex :
194
76
Type : AWS::DynamoDB::Table
@@ -384,7 +266,7 @@ Resources:
384
266
- !Sub " arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${KeystoreTableName}"
385
267
- !Sub " arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${KeystoreTableName}/index/*"
386
268
- !Sub " arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${BasicTestJavaTableName}"
387
- - !Sub " arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${BasicTestDotnetTableName }"
269
+ - !Sub " arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${BasicTestDotNetTableName }"
388
270
- !Sub " arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${SearchTestJavaTableName}"
389
271
- !Sub " arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${SearchTestJavaTableName}/index/*"
390
272
- !Sub " arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${SearchTestDotnetTableName}"
@@ -450,6 +332,7 @@ Resources:
450
332
- Fn::ImportValue : " Polymorph-CA-GitHubCAReadPolicyArn"
451
333
- " arn:aws:iam::370957321024:policy/ESDK-Dafny-DDB-ReadWriteDelete-us-west-2"
452
334
- " arn:aws:iam::370957321024:policy/Hierarchical-GitHub-KMS-Key-Policy"
335
+ - " arn:aws:iam::370957321024:policy/Github-ECDH-KMS"
453
336
- !Ref KMSUsage
454
337
- !Ref DDBUsage
455
338
AssumeRolePolicyDocument : !Sub |
0 commit comments