1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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
beantwortet vor 5 Jahren
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr