Skip to content

Commit

Permalink
Update terraform version to v1.5 (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
posquit0 authored Oct 3, 2023
1 parent 55e90ee commit 706d71e
Show file tree
Hide file tree
Showing 34 changed files with 50 additions and 47 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/alb-with-instance-target-group/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.3"
required_version = "~> 1.5"

required_providers {
aws = {
Expand Down
2 changes: 1 addition & 1 deletion examples/alb-with-ip-target-group/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.3"
required_version = "~> 1.5"

required_providers {
aws = {
Expand Down
2 changes: 1 addition & 1 deletion examples/gwlb-with-instance-target-group/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.3"
required_version = "~> 1.5"

required_providers {
aws = {
Expand Down
2 changes: 1 addition & 1 deletion examples/gwlb-with-ip-target-group/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.3"
required_version = "~> 1.5"

required_providers {
aws = {
Expand Down
2 changes: 1 addition & 1 deletion examples/nlb-with-alb-target-group/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.3"
required_version = "~> 1.5"

required_providers {
aws = {
Expand Down
2 changes: 1 addition & 1 deletion examples/nlb-with-instance-target-group/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.3"
required_version = "~> 1.5"

required_providers {
aws = {
Expand Down
2 changes: 1 addition & 1 deletion examples/nlb-with-ip-target-group/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.3"
required_version = "~> 1.5"

required_providers {
aws = {
Expand Down
4 changes: 2 additions & 2 deletions modules/alb-instance-target-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.3 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.71 |

## Providers

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

## Modules

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

required_providers {
aws = {
Expand Down
4 changes: 2 additions & 2 deletions modules/alb-ip-target-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.3 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.37 |

## Providers

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

## Modules

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

required_providers {
aws = {
Expand Down
4 changes: 2 additions & 2 deletions modules/alb-lambda-target-group/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.3 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.71 |

## Providers

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

## Modules

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

required_providers {
aws = {
Expand Down
4 changes: 2 additions & 2 deletions modules/alb-listener/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.3 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.71 |

## Providers

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

## Modules

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

required_providers {
aws = {
Expand Down
4 changes: 2 additions & 2 deletions modules/alb/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.3 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.25 |

## Providers

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

## Modules

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

required_providers {
aws = {
Expand Down
4 changes: 2 additions & 2 deletions modules/gwlb-instance-target-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.3 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.71 |

## Providers

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

## Modules

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

required_providers {
aws = {
Expand Down
4 changes: 2 additions & 2 deletions modules/gwlb-ip-target-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.3 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.37 |

## Providers

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

## Modules

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

required_providers {
aws = {
Expand Down
4 changes: 2 additions & 2 deletions modules/gwlb/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.3 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.71 |

## Providers

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

## Modules

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

required_providers {
aws = {
Expand Down
4 changes: 2 additions & 2 deletions modules/nlb-alb-target-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.3 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.71 |

## Providers

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

## Modules

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

required_providers {
aws = {
Expand Down
4 changes: 2 additions & 2 deletions modules/nlb-instance-target-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.3 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.71 |

## Providers

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

## Modules

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

required_providers {
aws = {
Expand Down
4 changes: 2 additions & 2 deletions modules/nlb-ip-target-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.3 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.37 |

## Providers

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

## Modules

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

required_providers {
aws = {
Expand Down
4 changes: 2 additions & 2 deletions modules/nlb-listener/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.3 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.71 |

## Providers

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

## Modules

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

required_providers {
aws = {
Expand Down
4 changes: 2 additions & 2 deletions modules/nlb/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.3 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.71 |

## Providers

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

## Modules

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

required_providers {
aws = {
Expand Down

0 comments on commit 706d71e

Please sign in to comment.