I am creating a dynamodb table with following schema in terraform:
and getting the following error: aws_dynamodb_table.: AWS Error creating DynamoDB table: ValidationException: 1 validation error detected: Value 'KEYS-ONLY' at 'globalSecondaryInde xes.1.member.projection.projectionType' failed to satisfy constraint: Member must satisfy enum value set: [ALL, INCLUDE, KEYS_ONLY]
This exception is coming from AWS. But not sure what am I doing wrong.