Skip to content

Commit

Permalink
Update terraform version to v1.5 (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
posquit0 authored Oct 3, 2023
1 parent 095de8f commit ed5e6be
Show file tree
Hide file tree
Showing 18 changed files with 27 additions and 24 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/cloudtrail-event-data-store-config/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/cloudtrail-event-data-store-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/cloudtrail-event-data-store-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/macie-account-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/access-analyzer/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.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/access-analyzer/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ locals {

resource "aws_accessanalyzer_analyzer" "this" {
analyzer_name = var.name
type = try(var.type, "ACCOUNT")
type = var.type

tags = merge(
{
Expand Down
2 changes: 1 addition & 1 deletion modules/access-analyzer/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/cloudtrail-event-data-store/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.53 |

## Providers

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

## Modules

Expand Down
2 changes: 1 addition & 1 deletion modules/cloudtrail-event-data-store/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/cloudtrail-trail/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.14 |

## Providers

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

## Modules

Expand Down
2 changes: 1 addition & 1 deletion modules/cloudtrail-trail/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/config-managed-rule/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,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.14 |

## 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/config-managed-rule/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/config-recorder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,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.14 |

## 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/config-recorder/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/macie-account/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.14 |

## Providers

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

## Modules

Expand Down
2 changes: 1 addition & 1 deletion modules/macie-account/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 ed5e6be

Please sign in to comment.