DynamoDB queries on secondary index, how to define the indexes
问题 I've been going around and around this and it's just not clear what to do. I have a simple table where I want to make queries against several columns. As I understand it, that means creating a secondary index for each column there is to query against. I've defined the table -- using the Serverless framework serverless.yml -- and am getting a variety of strange error messages. The current serverless.yml definition is: resources: Resources: MessagesDynamoDBTable: Type: 'AWS::DynamoDB::Table'