1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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
répondu il y a 5 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 4 mois
- AWS OFFICIELA mis à jour il y a 2 ans