Skip to content

Commit

Permalink
[MDS-5731] Reverted Discord notification lambda to python 3.9 (#2969)
Browse files Browse the repository at this point in the history
MDS-5731 Reverted Discord notification lambda to python 3.9
  • Loading branch information
simensma-fresh authored Feb 27, 2024
1 parent adbd024 commit 932f11e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion terraform/modules/build/notify.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3.11
#!/usr/bin/python3.9
import json
import logging
import urllib3
Expand Down
2 changes: 1 addition & 1 deletion terraform/modules/discord_sysdig_webhook.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 932f11e

Please sign in to comment.