Hi,
I get this error even though I have provided full access as the managed policy. What am I missing?
provider:
name: aws
stage: ${opt:stage, 'dev'}
runtime: python3.7
timeout: 30
iamManagedPolicies:
- arn:aws:iam::aws:policy/AmazonS3FullAccess
- arn:aws:iam::aws:policy/AmazonSQSFullAccess
functions:
task_handler:
handler: lambdas/task_worker.run_query_task
events:
- sqs: arn:aws:sqs:us-east-1:XXXX:${self:custom.SQS_QUEUE}
custom:
SQS_QUEUE: ${self:service}-${opt:stage, self:provider.stage}-query-tasks