Skip to content

Commit a470170

Browse files
authored
Update main.tf
> This version is deprecated now. Please use 3.13. Have updated the version to 3.13.
1 parent 452da61 commit a470170

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

vpc-lattice-lambda-tf/main.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ resource "aws_lambda_function" "vl_function_primary" {
9999
function_name = "vl-function-primary"
100100
role = aws_iam_role.lambda_role.arn
101101
handler = "app.lambda_handler"
102-
runtime = "python3.9"
102+
runtime = "python3.13"
103103
architectures = ["x86_64"]
104104
source_code_hash = filebase64sha256("primary.zip")
105105
}
@@ -109,7 +109,7 @@ resource "aws_lambda_function" "vl_function_secondary" {
109109
function_name = "vl-function-secondary"
110110
role = aws_iam_role.lambda_role.arn
111111
handler = "app.lambda_handler"
112-
runtime = "python3.9"
112+
runtime = "python3.13"
113113
architectures = ["x86_64"]
114114
source_code_hash = filebase64sha256("secondary.zip")
115115
}
@@ -119,7 +119,7 @@ resource "aws_lambda_function" "demo_lambda" {
119119
function_name = "demo-lambda"
120120
role = aws_iam_role.lambda_role.arn
121121
handler = "app.lambda_handler"
122-
runtime = "python3.9"
122+
runtime = "python3.13"
123123
architectures = ["x86_64"]
124124
source_code_hash = filebase64sha256("demolambda.zip")
125125

@@ -223,4 +223,4 @@ output "vl_service_dns" {
223223
}
224224

225225
# Data source for current region
226-
data "aws_region" "current" {}
226+
data "aws_region" "current" {}

0 commit comments

Comments
 (0)