Following the steps as described here, the dynamodb stream trigger is not being created.
It looks like quite the straightforward recipe. I have no clue what might I be doing wrong:
the function:
translatorFunction:
events:
- stream:
type: dynamodb
arn:
Fn::GetAtt:
- translationsTable
- StreamArn
batchSize: 1
the table:
translationsTable:
Type: AWS::DynamoDB::Table
Properties:
TableName: translations
AttributeDefinitions:
- AttributeName: id
AttributeType: S
KeySchema:
- AttributeName: id
KeyType: HASH
ProvisionedThroughput:
ReadCapacityUnits: 1
WriteCapacityUnits: 1
StreamSpecification:
StreamViewType: KEYS_ONLY
The stream looks ok: