diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 10bde48..8f8a374 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/antonbabenko/pre-commit-terraform
- rev: v1.81.0
+ rev: v1.83.4
hooks:
- id: terraform_fmt
args:
@@ -9,6 +9,9 @@ repos:
args:
- --tf-init-args=-upgrade
- --hook-config=--retry-once-with-cleanup=true
+ - id: terraform_providers_lock
+ args:
+ - --hook-config=--mode=always-regenerate-lockfile
- id: terraform_tflint
args:
- --args=--config=__GIT_WORKING_DIR__/.tflint.hcl
diff --git a/examples/alb-with-instance-target-group/versions.tf b/examples/alb-with-instance-target-group/versions.tf
index 3c3b4cf..fe30da3 100644
--- a/examples/alb-with-instance-target-group/versions.tf
+++ b/examples/alb-with-instance-target-group/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = "~> 1.3"
+ required_version = "~> 1.5"
required_providers {
aws = {
diff --git a/examples/alb-with-ip-target-group/versions.tf b/examples/alb-with-ip-target-group/versions.tf
index 3c3b4cf..fe30da3 100644
--- a/examples/alb-with-ip-target-group/versions.tf
+++ b/examples/alb-with-ip-target-group/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = "~> 1.3"
+ required_version = "~> 1.5"
required_providers {
aws = {
diff --git a/examples/gwlb-with-instance-target-group/versions.tf b/examples/gwlb-with-instance-target-group/versions.tf
index 3c3b4cf..fe30da3 100644
--- a/examples/gwlb-with-instance-target-group/versions.tf
+++ b/examples/gwlb-with-instance-target-group/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = "~> 1.3"
+ required_version = "~> 1.5"
required_providers {
aws = {
diff --git a/examples/gwlb-with-ip-target-group/versions.tf b/examples/gwlb-with-ip-target-group/versions.tf
index 3c3b4cf..fe30da3 100644
--- a/examples/gwlb-with-ip-target-group/versions.tf
+++ b/examples/gwlb-with-ip-target-group/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = "~> 1.3"
+ required_version = "~> 1.5"
required_providers {
aws = {
diff --git a/examples/nlb-with-alb-target-group/versions.tf b/examples/nlb-with-alb-target-group/versions.tf
index 3c3b4cf..fe30da3 100644
--- a/examples/nlb-with-alb-target-group/versions.tf
+++ b/examples/nlb-with-alb-target-group/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = "~> 1.3"
+ required_version = "~> 1.5"
required_providers {
aws = {
diff --git a/examples/nlb-with-instance-target-group/versions.tf b/examples/nlb-with-instance-target-group/versions.tf
index 3c3b4cf..fe30da3 100644
--- a/examples/nlb-with-instance-target-group/versions.tf
+++ b/examples/nlb-with-instance-target-group/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = "~> 1.3"
+ required_version = "~> 1.5"
required_providers {
aws = {
diff --git a/examples/nlb-with-ip-target-group/versions.tf b/examples/nlb-with-ip-target-group/versions.tf
index 3c3b4cf..fe30da3 100644
--- a/examples/nlb-with-ip-target-group/versions.tf
+++ b/examples/nlb-with-ip-target-group/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = "~> 1.3"
+ required_version = "~> 1.5"
required_providers {
aws = {
diff --git a/modules/alb-instance-target-group/README.md b/modules/alb-instance-target-group/README.md
index 5e1ea89..b7da957 100644
--- a/modules/alb-instance-target-group/README.md
+++ b/modules/alb-instance-target-group/README.md
@@ -10,14 +10,14 @@ This module creates following resources.
| Name | Version |
|------|---------|
-| [terraform](#requirement\_terraform) | >= 1.3 |
+| [terraform](#requirement\_terraform) | >= 1.5 |
| [aws](#requirement\_aws) | >= 3.71 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | 4.37.0 |
+| [aws](#provider\_aws) | 5.19.0 |
## Modules
diff --git a/modules/alb-instance-target-group/versions.tf b/modules/alb-instance-target-group/versions.tf
index ab7788a..6baf4a1 100644
--- a/modules/alb-instance-target-group/versions.tf
+++ b/modules/alb-instance-target-group/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = ">= 1.3"
+ required_version = ">= 1.5"
required_providers {
aws = {
diff --git a/modules/alb-ip-target-group/README.md b/modules/alb-ip-target-group/README.md
index 7e99c1c..3bfbc76 100644
--- a/modules/alb-ip-target-group/README.md
+++ b/modules/alb-ip-target-group/README.md
@@ -10,14 +10,14 @@ This module creates following resources.
| Name | Version |
|------|---------|
-| [terraform](#requirement\_terraform) | >= 1.3 |
+| [terraform](#requirement\_terraform) | >= 1.5 |
| [aws](#requirement\_aws) | >= 4.37 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | 4.37.0 |
+| [aws](#provider\_aws) | 5.19.0 |
## Modules
diff --git a/modules/alb-ip-target-group/versions.tf b/modules/alb-ip-target-group/versions.tf
index 13d9c0a..49c8018 100644
--- a/modules/alb-ip-target-group/versions.tf
+++ b/modules/alb-ip-target-group/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = ">= 1.3"
+ required_version = ">= 1.5"
required_providers {
aws = {
diff --git a/modules/alb-lambda-target-group/README.md b/modules/alb-lambda-target-group/README.md
index 384ce05..0220b80 100644
--- a/modules/alb-lambda-target-group/README.md
+++ b/modules/alb-lambda-target-group/README.md
@@ -11,14 +11,14 @@ This module creates following resources.
| Name | Version |
|------|---------|
-| [terraform](#requirement\_terraform) | >= 1.3 |
+| [terraform](#requirement\_terraform) | >= 1.5 |
| [aws](#requirement\_aws) | >= 3.71 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | 4.37.0 |
+| [aws](#provider\_aws) | 5.19.0 |
## Modules
diff --git a/modules/alb-lambda-target-group/versions.tf b/modules/alb-lambda-target-group/versions.tf
index ab7788a..6baf4a1 100644
--- a/modules/alb-lambda-target-group/versions.tf
+++ b/modules/alb-lambda-target-group/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = ">= 1.3"
+ required_version = ">= 1.5"
required_providers {
aws = {
diff --git a/modules/alb-listener/README.md b/modules/alb-listener/README.md
index 5ecb254..deb55e4 100644
--- a/modules/alb-listener/README.md
+++ b/modules/alb-listener/README.md
@@ -11,14 +11,14 @@ This module creates following resources.
| Name | Version |
|------|---------|
-| [terraform](#requirement\_terraform) | >= 1.3 |
+| [terraform](#requirement\_terraform) | >= 1.5 |
| [aws](#requirement\_aws) | >= 3.71 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | 4.37.0 |
+| [aws](#provider\_aws) | 5.19.0 |
## Modules
diff --git a/modules/alb-listener/versions.tf b/modules/alb-listener/versions.tf
index ab7788a..6baf4a1 100644
--- a/modules/alb-listener/versions.tf
+++ b/modules/alb-listener/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = ">= 1.3"
+ required_version = ">= 1.5"
required_providers {
aws = {
diff --git a/modules/alb/README.md b/modules/alb/README.md
index 68d8e3d..a07d4f4 100644
--- a/modules/alb/README.md
+++ b/modules/alb/README.md
@@ -12,14 +12,14 @@ This module creates following resources.
| Name | Version |
|------|---------|
-| [terraform](#requirement\_terraform) | >= 1.3 |
+| [terraform](#requirement\_terraform) | >= 1.5 |
| [aws](#requirement\_aws) | >= 4.25 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | 4.37.0 |
+| [aws](#provider\_aws) | 5.19.0 |
## Modules
diff --git a/modules/alb/versions.tf b/modules/alb/versions.tf
index f821f3e..9981375 100644
--- a/modules/alb/versions.tf
+++ b/modules/alb/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = ">= 1.3"
+ required_version = ">= 1.5"
required_providers {
aws = {
diff --git a/modules/gwlb-instance-target-group/README.md b/modules/gwlb-instance-target-group/README.md
index f180520..58d43b4 100644
--- a/modules/gwlb-instance-target-group/README.md
+++ b/modules/gwlb-instance-target-group/README.md
@@ -10,14 +10,14 @@ This module creates following resources.
| Name | Version |
|------|---------|
-| [terraform](#requirement\_terraform) | >= 1.3 |
+| [terraform](#requirement\_terraform) | >= 1.5 |
| [aws](#requirement\_aws) | >= 3.71 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | 4.36.1 |
+| [aws](#provider\_aws) | 5.19.0 |
## Modules
diff --git a/modules/gwlb-instance-target-group/versions.tf b/modules/gwlb-instance-target-group/versions.tf
index ab7788a..6baf4a1 100644
--- a/modules/gwlb-instance-target-group/versions.tf
+++ b/modules/gwlb-instance-target-group/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = ">= 1.3"
+ required_version = ">= 1.5"
required_providers {
aws = {
diff --git a/modules/gwlb-ip-target-group/README.md b/modules/gwlb-ip-target-group/README.md
index 425e610..e701e46 100644
--- a/modules/gwlb-ip-target-group/README.md
+++ b/modules/gwlb-ip-target-group/README.md
@@ -10,14 +10,14 @@ This module creates following resources.
| Name | Version |
|------|---------|
-| [terraform](#requirement\_terraform) | >= 1.3 |
+| [terraform](#requirement\_terraform) | >= 1.5 |
| [aws](#requirement\_aws) | >= 4.37 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | 4.36.1 |
+| [aws](#provider\_aws) | 5.19.0 |
## Modules
diff --git a/modules/gwlb-ip-target-group/versions.tf b/modules/gwlb-ip-target-group/versions.tf
index 13d9c0a..49c8018 100644
--- a/modules/gwlb-ip-target-group/versions.tf
+++ b/modules/gwlb-ip-target-group/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = ">= 1.3"
+ required_version = ">= 1.5"
required_providers {
aws = {
diff --git a/modules/gwlb/README.md b/modules/gwlb/README.md
index 9b94a55..46331a0 100644
--- a/modules/gwlb/README.md
+++ b/modules/gwlb/README.md
@@ -10,14 +10,14 @@ This module creates following resources.
| Name | Version |
|------|---------|
-| [terraform](#requirement\_terraform) | >= 1.3 |
+| [terraform](#requirement\_terraform) | >= 1.5 |
| [aws](#requirement\_aws) | >= 3.71 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | 4.37.0 |
+| [aws](#provider\_aws) | 5.19.0 |
## Modules
diff --git a/modules/gwlb/versions.tf b/modules/gwlb/versions.tf
index ab7788a..6baf4a1 100644
--- a/modules/gwlb/versions.tf
+++ b/modules/gwlb/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = ">= 1.3"
+ required_version = ">= 1.5"
required_providers {
aws = {
diff --git a/modules/nlb-alb-target-group/README.md b/modules/nlb-alb-target-group/README.md
index f5c1582..d5af56c 100644
--- a/modules/nlb-alb-target-group/README.md
+++ b/modules/nlb-alb-target-group/README.md
@@ -10,14 +10,14 @@ This module creates following resources.
| Name | Version |
|------|---------|
-| [terraform](#requirement\_terraform) | >= 1.3 |
+| [terraform](#requirement\_terraform) | >= 1.5 |
| [aws](#requirement\_aws) | >= 3.71 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | 4.36.1 |
+| [aws](#provider\_aws) | 5.19.0 |
## Modules
diff --git a/modules/nlb-alb-target-group/versions.tf b/modules/nlb-alb-target-group/versions.tf
index ab7788a..6baf4a1 100644
--- a/modules/nlb-alb-target-group/versions.tf
+++ b/modules/nlb-alb-target-group/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = ">= 1.3"
+ required_version = ">= 1.5"
required_providers {
aws = {
diff --git a/modules/nlb-instance-target-group/README.md b/modules/nlb-instance-target-group/README.md
index 5368043..db95363 100644
--- a/modules/nlb-instance-target-group/README.md
+++ b/modules/nlb-instance-target-group/README.md
@@ -10,14 +10,14 @@ This module creates following resources.
| Name | Version |
|------|---------|
-| [terraform](#requirement\_terraform) | >= 1.3 |
+| [terraform](#requirement\_terraform) | >= 1.5 |
| [aws](#requirement\_aws) | >= 3.71 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | 4.36.1 |
+| [aws](#provider\_aws) | 5.19.0 |
## Modules
diff --git a/modules/nlb-instance-target-group/versions.tf b/modules/nlb-instance-target-group/versions.tf
index ab7788a..6baf4a1 100644
--- a/modules/nlb-instance-target-group/versions.tf
+++ b/modules/nlb-instance-target-group/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = ">= 1.3"
+ required_version = ">= 1.5"
required_providers {
aws = {
diff --git a/modules/nlb-ip-target-group/README.md b/modules/nlb-ip-target-group/README.md
index 1b3ca37..42c0dce 100644
--- a/modules/nlb-ip-target-group/README.md
+++ b/modules/nlb-ip-target-group/README.md
@@ -10,14 +10,14 @@ This module creates following resources.
| Name | Version |
|------|---------|
-| [terraform](#requirement\_terraform) | >= 1.3 |
+| [terraform](#requirement\_terraform) | >= 1.5 |
| [aws](#requirement\_aws) | >= 4.37 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | 4.36.1 |
+| [aws](#provider\_aws) | 5.19.0 |
## Modules
diff --git a/modules/nlb-ip-target-group/versions.tf b/modules/nlb-ip-target-group/versions.tf
index 13d9c0a..49c8018 100644
--- a/modules/nlb-ip-target-group/versions.tf
+++ b/modules/nlb-ip-target-group/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = ">= 1.3"
+ required_version = ">= 1.5"
required_providers {
aws = {
diff --git a/modules/nlb-listener/README.md b/modules/nlb-listener/README.md
index 605fd4a..3df16c7 100644
--- a/modules/nlb-listener/README.md
+++ b/modules/nlb-listener/README.md
@@ -10,14 +10,14 @@ This module creates following resources.
| Name | Version |
|------|---------|
-| [terraform](#requirement\_terraform) | >= 1.3 |
+| [terraform](#requirement\_terraform) | >= 1.5 |
| [aws](#requirement\_aws) | >= 3.71 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | 4.36.1 |
+| [aws](#provider\_aws) | 5.19.0 |
## Modules
diff --git a/modules/nlb-listener/versions.tf b/modules/nlb-listener/versions.tf
index ab7788a..6baf4a1 100644
--- a/modules/nlb-listener/versions.tf
+++ b/modules/nlb-listener/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = ">= 1.3"
+ required_version = ">= 1.5"
required_providers {
aws = {
diff --git a/modules/nlb/README.md b/modules/nlb/README.md
index c0471d3..bdd8016 100644
--- a/modules/nlb/README.md
+++ b/modules/nlb/README.md
@@ -11,14 +11,14 @@ This module creates following resources.
| Name | Version |
|------|---------|
-| [terraform](#requirement\_terraform) | >= 1.3 |
+| [terraform](#requirement\_terraform) | >= 1.5 |
| [aws](#requirement\_aws) | >= 3.71 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | 4.36.1 |
+| [aws](#provider\_aws) | 5.19.0 |
## Modules
diff --git a/modules/nlb/versions.tf b/modules/nlb/versions.tf
index ab7788a..6baf4a1 100644
--- a/modules/nlb/versions.tf
+++ b/modules/nlb/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = ">= 1.3"
+ required_version = ">= 1.5"
required_providers {
aws = {