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/ecr-registry-enhanced-scanning/versions.tf b/examples/ecr-registry-enhanced-scanning/versions.tf
index 36cf24a..fe30da3 100644
--- a/examples/ecr-registry-enhanced-scanning/versions.tf
+++ b/examples/ecr-registry-enhanced-scanning/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = "~> 1.2"
+ required_version = "~> 1.5"
required_providers {
aws = {
diff --git a/examples/ecr-registry-full/versions.tf b/examples/ecr-registry-full/versions.tf
index 36cf24a..fe30da3 100644
--- a/examples/ecr-registry-full/versions.tf
+++ b/examples/ecr-registry-full/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = "~> 1.2"
+ required_version = "~> 1.5"
required_providers {
aws = {
diff --git a/examples/ecr-registry-pull-through-cache/versions.tf b/examples/ecr-registry-pull-through-cache/versions.tf
index 36cf24a..fe30da3 100644
--- a/examples/ecr-registry-pull-through-cache/versions.tf
+++ b/examples/ecr-registry-pull-through-cache/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = "~> 1.2"
+ required_version = "~> 1.5"
required_providers {
aws = {
diff --git a/examples/ecr-registry-replication/versions.tf b/examples/ecr-registry-replication/versions.tf
index 36cf24a..fe30da3 100644
--- a/examples/ecr-registry-replication/versions.tf
+++ b/examples/ecr-registry-replication/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = "~> 1.2"
+ required_version = "~> 1.5"
required_providers {
aws = {
diff --git a/examples/ecr-registry-simple/versions.tf b/examples/ecr-registry-simple/versions.tf
index 36cf24a..fe30da3 100644
--- a/examples/ecr-registry-simple/versions.tf
+++ b/examples/ecr-registry-simple/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = "~> 1.2"
+ required_version = "~> 1.5"
required_providers {
aws = {
diff --git a/examples/ecr-repository-encryption-kms/versions.tf b/examples/ecr-repository-encryption-kms/versions.tf
index 36cf24a..fe30da3 100644
--- a/examples/ecr-repository-encryption-kms/versions.tf
+++ b/examples/ecr-repository-encryption-kms/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = "~> 1.2"
+ required_version = "~> 1.5"
required_providers {
aws = {
diff --git a/examples/ecr-repository-full/versions.tf b/examples/ecr-repository-full/versions.tf
index 36cf24a..fe30da3 100644
--- a/examples/ecr-repository-full/versions.tf
+++ b/examples/ecr-repository-full/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = "~> 1.2"
+ required_version = "~> 1.5"
required_providers {
aws = {
diff --git a/examples/ecr-repository-lifecycle-rules/versions.tf b/examples/ecr-repository-lifecycle-rules/versions.tf
index 36cf24a..fe30da3 100644
--- a/examples/ecr-repository-lifecycle-rules/versions.tf
+++ b/examples/ecr-repository-lifecycle-rules/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = "~> 1.2"
+ required_version = "~> 1.5"
required_providers {
aws = {
diff --git a/examples/ecr-repository-simple/versions.tf b/examples/ecr-repository-simple/versions.tf
index 36cf24a..fe30da3 100644
--- a/examples/ecr-repository-simple/versions.tf
+++ b/examples/ecr-repository-simple/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = "~> 1.2"
+ required_version = "~> 1.5"
required_providers {
aws = {
diff --git a/modules/ecr-registry/README.md b/modules/ecr-registry/README.md
index a683484..1046851 100644
--- a/modules/ecr-registry/README.md
+++ b/modules/ecr-registry/README.md
@@ -12,14 +12,14 @@ This module creates following resources.
| Name | Version |
|------|---------|
-| [terraform](#requirement\_terraform) | >= 1.2 |
+| [terraform](#requirement\_terraform) | >= 1.5 |
| [aws](#requirement\_aws) | >= 4.10 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | 4.22.0 |
+| [aws](#provider\_aws) | 5.19.0 |
## Modules
diff --git a/modules/ecr-registry/versions.tf b/modules/ecr-registry/versions.tf
index 7bde97d..426109f 100644
--- a/modules/ecr-registry/versions.tf
+++ b/modules/ecr-registry/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = ">= 1.2"
+ required_version = ">= 1.5"
required_providers {
aws = {
diff --git a/modules/ecr-repository/README.md b/modules/ecr-repository/README.md
index 652fdd5..0ec0603 100644
--- a/modules/ecr-repository/README.md
+++ b/modules/ecr-repository/README.md
@@ -11,14 +11,14 @@ This module creates following resources.
| Name | Version |
|------|---------|
-| [terraform](#requirement\_terraform) | >= 1.2 |
+| [terraform](#requirement\_terraform) | >= 1.5 |
| [aws](#requirement\_aws) | >= 4.10 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | 4.35.0 |
+| [aws](#provider\_aws) | 5.19.0 |
## Modules
diff --git a/modules/ecr-repository/versions.tf b/modules/ecr-repository/versions.tf
index 7bde97d..426109f 100644
--- a/modules/ecr-repository/versions.tf
+++ b/modules/ecr-repository/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = ">= 1.2"
+ required_version = ">= 1.5"
required_providers {
aws = {
diff --git a/modules/eks-aws-auth/README.md b/modules/eks-aws-auth/README.md
index a9961ad..37294db 100644
--- a/modules/eks-aws-auth/README.md
+++ b/modules/eks-aws-auth/README.md
@@ -9,14 +9,14 @@ This module creates following resources.
| Name | Version |
|------|---------|
-| [terraform](#requirement\_terraform) | >= 1.2 |
+| [terraform](#requirement\_terraform) | >= 1.5 |
| [kubernetes](#requirement\_kubernetes) | >= 2.0 |
## Providers
| Name | Version |
|------|---------|
-| [kubernetes](#provider\_kubernetes) | 2.14.0 |
+| [kubernetes](#provider\_kubernetes) | 2.23.0 |
## Modules
diff --git a/modules/eks-aws-auth/versions.tf b/modules/eks-aws-auth/versions.tf
index 465c3bc..6c48ea0 100644
--- a/modules/eks-aws-auth/versions.tf
+++ b/modules/eks-aws-auth/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = ">= 1.2"
+ required_version = ">= 1.5"
required_providers {
kubernetes = {
diff --git a/modules/eks-cluster/README.md b/modules/eks-cluster/README.md
index 334db90..c89c667 100644
--- a/modules/eks-cluster/README.md
+++ b/modules/eks-cluster/README.md
@@ -17,7 +17,7 @@ This module creates following resources.
| Name | Version |
|------|---------|
-| [terraform](#requirement\_terraform) | >= 1.2 |
+| [terraform](#requirement\_terraform) | >= 1.5 |
| [aws](#requirement\_aws) | >= 3.72 |
| [tls](#requirement\_tls) | >= 3.1 |
@@ -25,8 +25,8 @@ This module creates following resources.
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | 4.35.0 |
-| [tls](#provider\_tls) | 4.0.3 |
+| [aws](#provider\_aws) | 5.19.0 |
+| [tls](#provider\_tls) | 4.0.4 |
## Modules
diff --git a/modules/eks-cluster/versions.tf b/modules/eks-cluster/versions.tf
index 8d616d3..f5d0c06 100644
--- a/modules/eks-cluster/versions.tf
+++ b/modules/eks-cluster/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = ">= 1.2"
+ required_version = ">= 1.5"
required_providers {
aws = {
diff --git a/modules/eks-irsa/README.md b/modules/eks-irsa/README.md
index 383e09e..0dc2965 100644
--- a/modules/eks-irsa/README.md
+++ b/modules/eks-irsa/README.md
@@ -11,7 +11,7 @@ This module creates following resources.
| Name | Version |
|------|---------|
-| [terraform](#requirement\_terraform) | >= 1.2 |
+| [terraform](#requirement\_terraform) | >= 1.5 |
| [aws](#requirement\_aws) | >= 3.45 |
## Providers
diff --git a/modules/eks-irsa/versions.tf b/modules/eks-irsa/versions.tf
index b4bf2de..eb91816 100644
--- a/modules/eks-irsa/versions.tf
+++ b/modules/eks-irsa/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = ">= 1.2"
+ required_version = ">= 1.5"
required_providers {
# tflint-ignore: terraform_unused_required_providers
diff --git a/modules/eks-max-pods/versions.tf b/modules/eks-max-pods/versions.tf
index c0d3145..f5a0ad7 100644
--- a/modules/eks-max-pods/versions.tf
+++ b/modules/eks-max-pods/versions.tf
@@ -1,3 +1,3 @@
terraform {
- required_version = ">= 1.2"
+ required_version = ">= 1.5"
}
diff --git a/modules/eks-node-group/README.md b/modules/eks-node-group/README.md
index a8fac0e..ce1216c 100644
--- a/modules/eks-node-group/README.md
+++ b/modules/eks-node-group/README.md
@@ -10,14 +10,14 @@ This module creates following resources.
| Name | Version |
|------|---------|
-| [terraform](#requirement\_terraform) | >= 1.2 |
+| [terraform](#requirement\_terraform) | >= 1.5 |
| [aws](#requirement\_aws) | >= 4.22 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | 4.35.0 |
+| [aws](#provider\_aws) | 5.19.0 |
## Modules
diff --git a/modules/eks-node-group/versions.tf b/modules/eks-node-group/versions.tf
index 341c2f1..16131a3 100644
--- a/modules/eks-node-group/versions.tf
+++ b/modules/eks-node-group/versions.tf
@@ -1,5 +1,5 @@
terraform {
- required_version = ">= 1.2"
+ required_version = ">= 1.5"
required_providers {
aws = {