mirror of
https://github.com/Sea-Haven-Industries/apm-wo-analysis.git
synced 2026-09-30 12:23:15 +00:00
Some checks failed
Deploy / Deploy to prod (push) Has been cancelled
slack_interactions is configured for interactions.handler. A recreate that reloads the stub zip must return 503 instead of failing at init.
13 lines
480 B
Python
13 lines
480 B
Python
"""Bootstrap stub. GitHub Actions replaces this zip via update-function-code.
|
|
|
|
Keep a module for every Lambda handler setting in locals.functions. A recreate
|
|
must return 503 instead of failing at init because the entrypoint is missing.
|
|
"""
|
|
|
|
|
|
def handler(event, context):
|
|
return {
|
|
"statusCode": 503,
|
|
"headers": {"content-type": "application/json"},
|
|
"body": '{"error":{"code":"NOT_DEPLOYED","message":"Function code has not been deployed yet."}}',
|
|
}
|