Skip to content

Commit

Permalink
Update terraform version to v1.5 (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
posquit0 authored Oct 3, 2023
1 parent 4ec76c6 commit 95a600b
Show file tree
Hide file tree
Showing 23 changed files with 32 additions and 29 deletions.
5 changes: 4 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/ecr-registry-enhanced-scanning/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.2"
required_version = "~> 1.5"

required_providers {
aws = {
Expand Down
2 changes: 1 addition & 1 deletion examples/ecr-registry-full/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.2"
required_version = "~> 1.5"

required_providers {
aws = {
Expand Down
2 changes: 1 addition & 1 deletion examples/ecr-registry-pull-through-cache/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.2"
required_version = "~> 1.5"

required_providers {
aws = {
Expand Down
2 changes: 1 addition & 1 deletion examples/ecr-registry-replication/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.2"
required_version = "~> 1.5"

required_providers {
aws = {
Expand Down
2 changes: 1 addition & 1 deletion examples/ecr-registry-simple/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.2"
required_version = "~> 1.5"

required_providers {
aws = {
Expand Down
2 changes: 1 addition & 1 deletion examples/ecr-repository-encryption-kms/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.2"
required_version = "~> 1.5"

required_providers {
aws = {
Expand Down
2 changes: 1 addition & 1 deletion examples/ecr-repository-full/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.2"
required_version = "~> 1.5"

required_providers {
aws = {
Expand Down
2 changes: 1 addition & 1 deletion examples/ecr-repository-lifecycle-rules/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.2"
required_version = "~> 1.5"

required_providers {
aws = {
Expand Down
2 changes: 1 addition & 1 deletion examples/ecr-repository-simple/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.2"
required_version = "~> 1.5"

required_providers {
aws = {
Expand Down
4 changes: 2 additions & 2 deletions modules/ecr-registry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ This module creates following resources.

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.2 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.10 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.22.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.19.0 |

## Modules

Expand Down
2 changes: 1 addition & 1 deletion modules/ecr-registry/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.2"
required_version = ">= 1.5"

required_providers {
aws = {
Expand Down
4 changes: 2 additions & 2 deletions modules/ecr-repository/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ This module creates following resources.

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.2 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.10 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.35.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.19.0 |

## Modules

Expand Down
2 changes: 1 addition & 1 deletion modules/ecr-repository/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.2"
required_version = ">= 1.5"

required_providers {
aws = {
Expand Down
4 changes: 2 additions & 2 deletions modules/eks-aws-auth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ This module creates following resources.

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.2 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5 |
| <a name="requirement_kubernetes"></a> [kubernetes](#requirement\_kubernetes) | >= 2.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_kubernetes"></a> [kubernetes](#provider\_kubernetes) | 2.14.0 |
| <a name="provider_kubernetes"></a> [kubernetes](#provider\_kubernetes) | 2.23.0 |

## Modules

Expand Down
2 changes: 1 addition & 1 deletion modules/eks-aws-auth/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.2"
required_version = ">= 1.5"

required_providers {
kubernetes = {
Expand Down
6 changes: 3 additions & 3 deletions modules/eks-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ This module creates following resources.

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.2 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.72 |
| <a name="requirement_tls"></a> [tls](#requirement\_tls) | >= 3.1 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.35.0 |
| <a name="provider_tls"></a> [tls](#provider\_tls) | 4.0.3 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.19.0 |
| <a name="provider_tls"></a> [tls](#provider\_tls) | 4.0.4 |

## Modules

Expand Down
2 changes: 1 addition & 1 deletion modules/eks-cluster/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.2"
required_version = ">= 1.5"

required_providers {
aws = {
Expand Down
2 changes: 1 addition & 1 deletion modules/eks-irsa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This module creates following resources.

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.2 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.45 |

## Providers
Expand Down
2 changes: 1 addition & 1 deletion modules/eks-irsa/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.2"
required_version = ">= 1.5"

required_providers {
# tflint-ignore: terraform_unused_required_providers
Expand Down
2 changes: 1 addition & 1 deletion modules/eks-max-pods/versions.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
terraform {
required_version = ">= 1.2"
required_version = ">= 1.5"
}
4 changes: 2 additions & 2 deletions modules/eks-node-group/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ This module creates following resources.

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.2 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.22 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.35.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.19.0 |

## Modules

Expand Down
2 changes: 1 addition & 1 deletion modules/eks-node-group/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.2"
required_version = ">= 1.5"

required_providers {
aws = {
Expand Down

0 comments on commit 95a600b

Please sign in to comment.