1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
0
Turns out that what I was doing wrong was creating the DynamoDB in the dashboard.
Once I deleted it and used the Cloudformation template associated to the CodeStar project to create it as well the lambda started to work.
If someone is having the same difficulty, use the role provided above and make sure the db is also created from template.yml, like below:
...
Resources:
RawRequests:
Type: AWS::DynamoDB::Table
Properties:
AttributeDefinitions:
- AttributeName: TimeStamp
AttributeType: S
KeySchema:
- AttributeName: TimeStamp
KeyType: HASH
ProvisionedThroughput:
ReadCapacityUnits: 1
WriteCapacityUnits: 1
TableName: RawRequests
...
Cheers
respondido hace 5 años
Contenido relevante
- OFICIAL DE AWSActualizada hace 4 meses