skip to Main Content

How can I fix the error "DynamoDB returns GSI range key not specified errors"?

I have a cloudformation template regarding the dynamodb. I added new index called customerId-index as below: ComponentsTable: Type: AWS::DynamoDB::Table Properties: TableName: ${self:custom.base}-components PointInTimeRecoverySpecification: PointInTimeRecoveryEnabled: True StreamSpecification: StreamViewType: NEW_IMAGE BillingMode: PAY_PER_REQUEST AttributeDefinitions: - AttributeName: assetId AttributeType: S - AttributeName: componentId AttributeType:…

VIEW QUESTION
Back To Top
Search