You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the application using the API endpoint non-locally, leads to a permission failure when running a simple "list" request.
botocore.exceptions.ClientError: An error occurred (AccessDeniedException) when calling the Query operation: User: arn:aws:sts::xxxxxxxx:assumed-role/portal-app-dev/portal-app-dev is not authorized to perform: dynamodb:Query on resource: arn:aws:dynamodb:eu-west-1:xxxxxxxx:table/todo-app-56e56944-c8d5-4722-9bbb-2e77c5a9a138
Adding the AmazonDynamoDBFullAccess to the permission for the Lambda role, fixed the problem.
So it looks as if the chalice deploy does not add the correct permissions to the role.
The text was updated successfully, but these errors were encountered:
Running the application using the API endpoint non-locally, leads to a permission failure when running a simple "list" request.
botocore.exceptions.ClientError: An error occurred (AccessDeniedException) when calling the Query operation: User: arn:aws:sts::xxxxxxxx:assumed-role/portal-app-dev/portal-app-dev is not authorized to perform: dynamodb:Query on resource: arn:aws:dynamodb:eu-west-1:xxxxxxxx:table/todo-app-56e56944-c8d5-4722-9bbb-2e77c5a9a138
Adding the AmazonDynamoDBFullAccess to the permission for the Lambda role, fixed the problem.
So it looks as if the chalice deploy does not add the correct permissions to the role.
The text was updated successfully, but these errors were encountered: