A developer is testing a Lambda function that was aws video

 ·  PT1H46M27S  ·  EN

developer video for a developer is testing a Lambda function that was created from a CloudFormation template. While the function executes without errors, it

Full Certification Question

A developer is testing a Lambda function that was created from a CloudFormation template. While the function executes without errors, it isn't generating logs in Amazon CloudWatch Logs, and the developer cannot find associated log streams or log groups. Upon inspection, the following observations were made: The function's code contains appropriate logging statements. The Lambda function is associated with an execution role that establishes a trusted relationship with the Lambda service; however, this role has no permissions assigned. The Lambda function does not have any resource-based policies. Which configuration must be done to resolve the issue?