C1W4 Assignment: not authorized to perform ScheduleQuery on resources /aws/lambda/de-c1w4-transformation-lambda

When creating a post, please add:

  • Module # must be added in the tags option of the post. (ex: Module-1): Class 1 Week 4 assignment
  • Link to the classroom item you are referring to: https://us-east-1.console.aws.amazon.com/cloud9/ide/85b02671727549e58b00f2f7d31d96cb?region=us-east-1
  • Description (include relevant info but please do not post solution code or your entire notebook) Completed steps 4.4. Went to Lambda on the AWS COnsole and searched for de-c1w4-transformation-lambda which was created with Terraform. Click on it and search the Monitor tab. Click on View CloudWatch Logs .On verifying cloudwatch logs, the following error is displayed.
    "There was an error while making a request to StartQuery

User with accountId: 453103942960 is not authorized to perform ScheduleQuery on resources /aws/lambda/de-c1w4-transformation-lambda." A screenshot is attached. The S3 bucket ‘recommendations’ is not pupulated. Please can you look into this and support?

Hi @intellectus ,

When creating these labs, we only provide learners with the necessary permissions they need to complete the lab tasks. Permissions to access details under the “recent invocations” and “most expensive invocations” sections were not granted. Instead of scrolling down to check the logs, please click on the “View CloudWatch logs” button as shown in the image below to see the logs. You may encounter an error in the beginning, but after a minute or so you should be able to refresh to see the log activities.

I hope this helps :slight_smile: