Skip to content

Commit 9f0748a

Browse files
Merge branch 'develop' into mesh-2092-dependabot-combined
2 parents 1e32d5d + 4ff8316 commit 9f0748a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nhs_aws_helpers/fixtures.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ def clone_schema(table, on_demand_billing_mode: bool = True, provisioned_capacit
144144
del index["IndexSizeBytes"]
145145
del index["ItemCount"]
146146
del index["IndexArn"]
147-
del index["ProvisionedThroughput"]
147+
if "ProvisionedThroughput" in index:
148+
del index["ProvisionedThroughput"]
148149

149150
clone = {
150151
"KeySchema": key_schema,

0 commit comments

Comments
 (0)