File tree Expand file tree Collapse file tree 6 files changed +41
-3
lines changed Expand file tree Collapse file tree 6 files changed +41
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ module "lambda-datadog" {
2222 function_name = "example-function"
2323 role = aws_iam_role.lambda_role.arn
2424 handler = "app.lambda_handler"
25- runtime = "python3.13 "
25+ runtime = "python3.14 "
2626 memory_size = 256
2727
2828 environment_variables = {
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ module "lambda-datadog" {
5555 function_name = " terraform-example-python-${ var . datadog_service_name } -function"
5656 role = aws_iam_role. lambda_role . arn
5757 handler = " app.lambda_handler"
58- runtime = " python3.13 "
58+ runtime = " python3.14 "
5959 architectures = [" arm64" ]
6060 memory_size = 256
6161
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ locals {
5151 " python3.11" = " Datadog-Python311"
5252 " python3.12" = " Datadog-Python312"
5353 " python3.13" = " Datadog-Python313"
54+ " python3.14" = " Datadog-Python314"
5455 }
5556}
5657
@@ -116,6 +117,7 @@ check "runtime_support" {
116117 " python3.11" ,
117118 " python3.12" ,
118119 " python3.13" ,
120+ " python3.14" ,
119121 " provided.al2" ,
120122 " provided.al2023" ,
121123 ],
Original file line number Diff line number Diff line change @@ -54,6 +54,26 @@ data "archive_file" "zip_node_code" {
5454 output_path = " ${ path . module } /build/hello-node.zip"
5555}
5656
57+ module "lambda-python-3-14" {
58+ source = " ../"
59+
60+ filename = " ${ path . module } /build/hello-python.zip"
61+ function_name = " terraform-smoketest-python-3-14-${ var . datadog_service_name } -function"
62+ role = aws_iam_role. lambda_role . arn
63+ handler = " app.lambda_handler"
64+ runtime = " python3.14"
65+ architectures = [" arm64" ]
66+ memory_size = 256
67+
68+ environment_variables = {
69+ " DD_API_KEY_SECRET_ARN" : var.datadog_secret_arn
70+ " DD_ENV" : " dev"
71+ " DD_SERVICE" : var.datadog_service_name
72+ " DD_SITE" : var.datadog_site
73+ " DD_VERSION" : " 1.0.0"
74+ }
75+ }
76+
5777module "lambda-python-3-13" {
5878 source = " ../"
5979
Original file line number Diff line number Diff line change 1+ output "python_3_14_arn" {
2+ description = " Amazon Resource Name (ARN) identifying your Lambda Function."
3+ value = module. lambda-python-3-14 . arn
4+ }
5+
6+ output "python_3_14_invoke_arn" {
7+ description = " ARN to be used for invoking Lambda Function from API Gateway."
8+ value = module. lambda-python-3-14 . invoke_arn
9+ }
10+
11+ output "python_3_14_function_name" {
12+ description = " Unique name for your Lambda Function"
13+ value = module. lambda-python-3-14 . function_name
14+ }
15+
16+
117output "python_3_13_arn" {
218 description = " Amazon Resource Name (ARN) identifying your Lambda Function."
319 value = module. lambda-python-3-13 . arn
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ variable "datadog_node_layer_version" {
2929variable "datadog_python_layer_version" {
3030 description = " Version for the Datadog Python Layer"
3131 type = number
32- default = 117
32+ default = 118
3333}
3434
3535variable "fips" {
You can’t perform that action at this time.
0 commit comments