Skip to content

Commit

Permalink
Fix Runtime issues in Amazon Linux 2 by Updating to AmazonLinux 2023 (c…
Browse files Browse the repository at this point in the history
…oralogix#156)

* update the lambda runtime

* update changlog
  • Loading branch information
guyrenny authored Apr 25, 2024
1 parent 51d603b commit 55db66b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## v1.0.96
#### **coralogix-aws-shipper**
### 🧰 Bug fixes 🧰
- Update the lambda runtime to Amazon 2023, the lambda module version to 7.2 and the terraform version to 5.32

## v1.0.95
### 🚀 New components 🚀
#### **coralogix-aws-shipper**
Expand Down
4 changes: 2 additions & 2 deletions modules/coralogix-aws-shipper/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ module "lambda" {
source = "terraform-aws-modules/lambda/aws"
function_name = each.value.lambda_name == null ? module.locals[each.key].function_name : each.value.lambda_name
description = "Send logs to Coralogix."
version = "6.5.0"
version = "7.2.0"
handler = "bootstrap"
runtime = "provided.al2"
runtime = "provided.al2023"
architectures = [var.cpu_arch]
memory_size = var.memory_size
timeout = var.timeout
Expand Down
2 changes: 1 addition & 1 deletion modules/coralogix-aws-shipper/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.15.1"
version = ">= 5.32.0"
}
random = {
source = "hashicorp/random"
Expand Down
2 changes: 1 addition & 1 deletion tests/coralogix-aws-shipper/coralogix-aws-shipper.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.0"
version = "~> 5.32"
}
}
}
Expand Down

0 comments on commit 55db66b

Please sign in to comment.