From bd570df29a969984c8faf8b05f21ed712f201d3b Mon Sep 17 00:00:00 2001 From: Nathan Windisch Date: Mon, 10 Mar 2025 00:47:11 +0000 Subject: [PATCH] added a lambda with a test configuration --- function.py | 2 ++ lambda.yml | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 function.py create mode 100644 lambda.yml diff --git a/function.py b/function.py new file mode 100644 index 0000000..0916a71 --- /dev/null +++ b/function.py @@ -0,0 +1,2 @@ +def handler(event, context): + return {"Hello": "world!"} diff --git a/lambda.yml b/lambda.yml new file mode 100644 index 0000000..636485b --- /dev/null +++ b/lambda.yml @@ -0,0 +1,4 @@ +--- +build_image: mlupin/docker-lambda:python3.9-build +builder: python +run_image: mlupin/docker-lambda:python3.9