Overview
As a Security Engineer, you will need to solve an access issue that prevents an AWS Lambda function from communicating with the Amazon DynamoDB.
Possible Points: 80 Clue Penalty: 0 Points Earned: 80
Completed!
Background
As a security engineer, you have been tasked to ensure that the AWS Lambda function is connected to DynamoDB table. Also, you are asked to ensure that the principle of least privilege is followed and AWS Lambda function should only be allowed to have read-only access to the DynamoDB table.
Your Task
You have to fix the broken link between the AWS Lambda function challengeFunction and Amazon DynamoDB table challengeTable and ensure that the principle of least privilege is followed.
Getting started
Go to AWS Lambda Console, locate function challengeFunction, run the function and check error message. You have to fix the error.
Inventory
The following services have already been provisioned in the environment:
AWS Lambda function: challengeFunction
Amazon DynamoDB table: challengeTable
challengeFunction function execution Role: challengeLambdaRole
challengeLambdaRole Role Policy: challengeLambdaRolePolicy
Services You Should Use
AWS IAM
AWS Lambda
Amazon DynamoDB
Task Validation The task will be automatically validated once you manage the access of challengeTable DynamoDB table from challengeFunction. In addition, you can always check your progress by pressing the Check my progress button in the challenge details screen.