Baza-86 / stale-securitygroup-rule-analysis-with-serverless-architecture

MIT No Attribution
0 stars 0 forks source link

ValidationException Writing to Analysis Table #97

Closed Baza-86 closed 1 year ago

Baza-86 commented 1 year ago

The following error is returned when updating items in the analysis ddb table:

There was an error while trying to perform DynamoDB insert operation on Usage table: An error occurred (ValidationException) when calling the UpdateItem operation: The provided key element does not match the schema
Baza-86 commented 1 year ago

Looks to be due to the requirement for the sort key account_no missing in the dynamodb.update_item() call