Skip to content

Commit f7e5c95

Browse files
committed
apigw-lambda-dynamodb-terraform: Update runtime to python3.13
1 parent 494b2a3 commit f7e5c95

File tree

1 file changed

+3
-3
lines changed
  • apigw-lambda-dynamodb-terraform

1 file changed

+3
-3
lines changed

apigw-lambda-dynamodb-terraform/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
aws = {
44
source = "hashicorp/aws"
5-
version = "~> 4.0.0"
5+
version = "~> 5.0"
66
}
77
random = {
88
source = "hashicorp/random"
@@ -85,7 +85,7 @@ resource "aws_lambda_function" "apigw_lambda_ddb" {
8585
s3_bucket = aws_s3_bucket.lambda_bucket.id
8686
s3_key = aws_s3_object.this.key
8787

88-
runtime = "python3.8"
88+
runtime = "python3.13"
8989
handler = "app.lambda_handler"
9090

9191
source_code_hash = data.archive_file.lambda_zip.output_base64sha256
@@ -222,4 +222,4 @@ resource "aws_lambda_permission" "api_gw" {
222222
principal = "apigateway.amazonaws.com"
223223

224224
source_arn = "${aws_apigatewayv2_api.http_lambda.execution_arn}/*/*"
225-
}
225+
}

0 commit comments

Comments
 (0)