Skip to content

Commit

Permalink
Update terraform version to v1.5 (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
posquit0 authored Oct 3, 2023
1 parent edcf496 commit e287604
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 14 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/instance-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/placement-groups/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/ssh-key-pairs/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
6 changes: 3 additions & 3 deletions modules/instance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ 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.61 |
| <a name="requirement_cloudinit"></a> [cloudinit](#requirement\_cloudinit) | >= 2.2 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.52.0 |
| <a name="provider_cloudinit"></a> [cloudinit](#provider\_cloudinit) | 2.2.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.19.0 |
| <a name="provider_cloudinit"></a> [cloudinit](#provider\_cloudinit) | 2.3.2 |

## Modules

Expand Down
2 changes: 1 addition & 1 deletion modules/instance/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/placement-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) | >= 4.60 |

## Providers

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

## Modules

Expand Down
2 changes: 1 addition & 1 deletion modules/placement-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/ssh-key/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_aws"></a> [aws](#requirement\_aws) | >= 4.22 |

## Providers

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

## Modules

Expand Down
2 changes: 1 addition & 1 deletion modules/ssh-key/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 e287604

Please sign in to comment.