From 442eb8de3ba1b69c494a15970fe0ae03c6f4beb7 Mon Sep 17 00:00:00 2001 From: Caleb Hill Date: Tue, 26 Mar 2024 14:00:19 -0600 Subject: [PATCH] refactor: require AWS provider 5.26 This is to allow nodejs20.x (see https://github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md#5260-november-16-2023) --- README.md | 2 +- changelog.md | 4 ++++ examples/docker-lambda/docker.tf | 2 +- examples/simple-lambda-in-vpc/example.tf | 2 +- main.tf | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 681f4b6..a095259 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ module "lambda_api" { ## Requirements * Terraform version 0.13.2 or greater -* AWS provider version 3.67 or greater +* AWS provider version 5.26 or greater ## Inputs | Name | Type | Description | Default | diff --git a/changelog.md b/changelog.md index f206bb3..b503d9a 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,9 @@ # Changelog +## v4.0.0 +2/6/2023 - Enable support for nodejs20.x runtime +- Require AWS provider >=5.26 to support nodejs20.x runtime + ## v3.0.0 2/6/2023 - Set `desync_mitigation_mode` to `strictest` in ALB - Require AWS provider >=3.67 to support `desync_mitigation_mode` diff --git a/examples/docker-lambda/docker.tf b/examples/docker-lambda/docker.tf index 928ed23..248b48e 100644 --- a/examples/docker-lambda/docker.tf +++ b/examples/docker-lambda/docker.tf @@ -1,5 +1,5 @@ provider "aws" { - version = "~> 3.67" + version = "~> 5.26" region = "us-west-2" } diff --git a/examples/simple-lambda-in-vpc/example.tf b/examples/simple-lambda-in-vpc/example.tf index d21fbaa..68c0490 100644 --- a/examples/simple-lambda-in-vpc/example.tf +++ b/examples/simple-lambda-in-vpc/example.tf @@ -1,5 +1,5 @@ provider "aws" { - version = "~> 3.67" + version = "~> 5.26" region = "us-west-2" } diff --git a/main.tf b/main.tf index 0c94e5b..a1c3ce6 100644 --- a/main.tf +++ b/main.tf @@ -1,7 +1,7 @@ terraform { required_version = ">= 0.13.2" required_providers { - aws = ">= 3.67" + aws = ">= 5.26" } }