Skip to content

Commit

Permalink
bump lambda runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
pjaudiomv committed Apr 24, 2024
1 parent 605cf9c commit 34207a8
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 30 deletions.
59 changes: 32 additions & 27 deletions .terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions logging.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ resource "aws_lambda_function" "metrics_logger" {
role = aws_iam_role.metrics_logger.arn
reserved_concurrent_executions = 1
source_code_hash = data.archive_file.metrics_lambda.output_base64sha256
runtime = "python3.8"
runtime = "python3.11"
timeout = 30

environment {
variables = {
DYNAMO_TABLE = aws_dynamodb_table.metrics.name
DYNAMO_TABLE = aws_dynamodb_table.metrics.name
DYNAMO_TABLE_INDIVIDUAL = aws_dynamodb_table.individual_metrics.name
}
}
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ terraform {
}
aws = {
source = "hashicorp/aws"
version = "~> 4.2"
version = "~> 5.2"
}
}

Expand Down

0 comments on commit 34207a8

Please sign in to comment.