--lambda flag on valkyrie run start invokes an AWS Lambda function after a run completes.
statusCode >= 400), the run will be marked as ERROR.
Payload
The tracker invokes your lambda with the fullBenchmarkArguments plus the persisted benchmark ID and name:
Format required by AWS
AWS Lambda expects alambda_function.py with a lambda_handler entry point
Example method:
Deployment
The lambda is invoked using the user’s AWS credentials (fromvalkyrie config init). It must be deployed in the user’s AWS account and region defined by the user.