Why AWS lambda throw AccessDeniedException?
I try to build test lambda which going to store data to DynamoDb via http request. My serverless.yml: service: your-pet-project frameworkVersion: ‘3’ provider: name: aws runtime: nodejs12.x region: us-east-1 iamRoleStatements: – Effect: Allow Action: – dynamodb:PutItem Resource: "arn:aws:dynamodb:${self:provider.region}:*:table/MyTestTable" functions: store: handler: store.storeData events: – http: path: store method: post cors: true resources: Resources: MyTestTable: Type:… Read More Why AWS lambda throw AccessDeniedException?