Prerequisites
- An AWS account with AWS Lambda functions
- AWS credentials configured for the runtime
- Permission to access Lambda and CloudWatch Logs
Setup
Option 1: Interactive CLI
Option 2: Environment variables
Add the following to your.env:
Verify
Investigation tools
When investigating AWS Lambda alerts, OpenSRE provides:- Lambda Configuration — inspect runtime, handler, timeout, memory, IAM role, environment variables, and deployed version.
- Lambda Inspect — retrieve deployment package metadata and inspect function contents when available.
- Lambda Invocation Logs — retrieve recent invocation logs from CloudWatch Logs.
- Lambda Errors — investigate recent runtime failures and execution errors.