File tree Expand file tree Collapse file tree 4 files changed +13
-3
lines changed
Expand file tree Collapse file tree 4 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 1- 3.12.5
1+ 3.13.0
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ resource "aws_lambda_function" "custom_responders" {
9696 function_name = " ${ local . name } -api-${ each . value } "
9797 handler = " index.handler"
9898 role = module. slackbot . roles [" lambda" ]. arn
99- runtime = " python3.12 "
99+ runtime = " python3.13 "
100100 source_code_hash = data. archive_file . custom_responders [each . value ]. output_base64sha256
101101}
102102
Original file line number Diff line number Diff line change @@ -380,7 +380,7 @@ resource "aws_lambda_function" "functions" {
380380 handler = " index.handler"
381381 memory_size = each. value . memory_size
382382 role = aws_iam_role. roles [" lambda" ]. arn
383- runtime = " python3.12 "
383+ runtime = var . lambda_runtime
384384 source_code_hash = data. archive_file . packages [each . key ]. output_base64sha256
385385 tags = var. tags
386386 timeout = 3
Original file line number Diff line number Diff line change @@ -73,6 +73,16 @@ variable "domain_zone_id" {
7373 type = string
7474}
7575
76+ # #############
77+ # LAMBDA #
78+ # #############
79+
80+ variable "lambda_runtime" {
81+ description = " Lambda function runtime"
82+ type = string
83+ default = " python3.13"
84+ }
85+
7686# ############
7787# SLACK #
7888# ############
You can’t perform that action at this time.
0 commit comments