diff --git a/terraform/modules/build/notify.py b/terraform/modules/build/notify.py index d4658bc0c6..7bd70caa23 100644 --- a/terraform/modules/build/notify.py +++ b/terraform/modules/build/notify.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3.11 +#!/usr/bin/python3.9 import json import logging import urllib3 diff --git a/terraform/modules/discord_sysdig_webhook.tf b/terraform/modules/discord_sysdig_webhook.tf index c6d11e5d3d..d352537dbe 100644 --- a/terraform/modules/discord_sysdig_webhook.tf +++ b/terraform/modules/discord_sysdig_webhook.tf @@ -47,7 +47,7 @@ resource "aws_lambda_function" "discord_notify" { s3_bucket = aws_s3_bucket.lambda_bucket.id s3_key = aws_s3_object.lambda_notification.key - runtime = "python3.11" + runtime = "python3.9" handler = "notify.lambda_handler" layers = ["arn:aws:lambda:ca-central-1:017000801446:layer:AWSLambdaPowertoolsPython:36"]