From 3283c6391ae8cc8b8fe65a0836fc85e32716c184 Mon Sep 17 00:00:00 2001 From: Byungjin Park Date: Tue, 3 Oct 2023 02:40:40 +0900 Subject: [PATCH 1/2] Update terraform version to v1.5 --- modules/amazon-issued-cert/README.md | 4 ++-- modules/amazon-issued-cert/versions.tf | 2 +- modules/imported-cert/README.md | 4 ++-- modules/imported-cert/versions.tf | 2 +- modules/private-ca-issued-cert/README.md | 4 ++-- modules/private-ca-issued-cert/versions.tf | 2 +- modules/private-zone/README.md | 4 ++-- modules/private-zone/versions.tf | 2 +- modules/public-zone/README.md | 4 ++-- modules/public-zone/versions.tf | 2 +- modules/resolver-inbound-endpoint/README.md | 4 ++-- modules/resolver-inbound-endpoint/versions.tf | 2 +- modules/resolver-query-logging/README.md | 4 ++-- modules/resolver-query-logging/versions.tf | 2 +- 14 files changed, 21 insertions(+), 21 deletions(-) diff --git a/modules/amazon-issued-cert/README.md b/modules/amazon-issued-cert/README.md index c5009b4..767e1f3 100644 --- a/modules/amazon-issued-cert/README.md +++ b/modules/amazon-issued-cert/README.md @@ -9,14 +9,14 @@ This module creates following resources. | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | >= 1.2 | +| [terraform](#requirement\_terraform) | >= 1.5 | | [aws](#requirement\_aws) | >= 4.27 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | 4.33.0 | +| [aws](#provider\_aws) | 5.19.0 | ## Modules diff --git a/modules/amazon-issued-cert/versions.tf b/modules/amazon-issued-cert/versions.tf index 221271d..dbff330 100644 --- a/modules/amazon-issued-cert/versions.tf +++ b/modules/amazon-issued-cert/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.2" + required_version = ">= 1.5" required_providers { aws = { diff --git a/modules/imported-cert/README.md b/modules/imported-cert/README.md index 6dd60bc..8e016f8 100644 --- a/modules/imported-cert/README.md +++ b/modules/imported-cert/README.md @@ -9,14 +9,14 @@ This module creates following resources. | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | >= 1.2 | +| [terraform](#requirement\_terraform) | >= 1.5 | | [aws](#requirement\_aws) | >= 4.27 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | 4.33.0 | +| [aws](#provider\_aws) | 5.19.0 | ## Modules diff --git a/modules/imported-cert/versions.tf b/modules/imported-cert/versions.tf index 221271d..dbff330 100644 --- a/modules/imported-cert/versions.tf +++ b/modules/imported-cert/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.2" + required_version = ">= 1.5" required_providers { aws = { diff --git a/modules/private-ca-issued-cert/README.md b/modules/private-ca-issued-cert/README.md index 4450f48..a738eb7 100644 --- a/modules/private-ca-issued-cert/README.md +++ b/modules/private-ca-issued-cert/README.md @@ -9,14 +9,14 @@ This module creates following resources. | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | >= 1.2 | +| [terraform](#requirement\_terraform) | >= 1.5 | | [aws](#requirement\_aws) | >= 4.27 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | 4.33.0 | +| [aws](#provider\_aws) | 5.19.0 | ## Modules diff --git a/modules/private-ca-issued-cert/versions.tf b/modules/private-ca-issued-cert/versions.tf index 221271d..dbff330 100644 --- a/modules/private-ca-issued-cert/versions.tf +++ b/modules/private-ca-issued-cert/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.2" + required_version = ">= 1.5" required_providers { aws = { diff --git a/modules/private-zone/README.md b/modules/private-zone/README.md index 064255c..5492305 100644 --- a/modules/private-zone/README.md +++ b/modules/private-zone/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.27 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | 4.23.0 | +| [aws](#provider\_aws) | 5.19.0 | ## Modules diff --git a/modules/private-zone/versions.tf b/modules/private-zone/versions.tf index 221271d..dbff330 100644 --- a/modules/private-zone/versions.tf +++ b/modules/private-zone/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.2" + required_version = ">= 1.5" required_providers { aws = { diff --git a/modules/public-zone/README.md b/modules/public-zone/README.md index fc809a3..8fb187f 100644 --- a/modules/public-zone/README.md +++ b/modules/public-zone/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.27 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | 4.23.0 | +| [aws](#provider\_aws) | 5.19.0 | ## Modules diff --git a/modules/public-zone/versions.tf b/modules/public-zone/versions.tf index 221271d..dbff330 100644 --- a/modules/public-zone/versions.tf +++ b/modules/public-zone/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.2" + required_version = ">= 1.5" required_providers { aws = { diff --git a/modules/resolver-inbound-endpoint/README.md b/modules/resolver-inbound-endpoint/README.md index e078b6b..cf90d66 100644 --- a/modules/resolver-inbound-endpoint/README.md +++ b/modules/resolver-inbound-endpoint/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.27 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | 4.23.0 | +| [aws](#provider\_aws) | 5.19.0 | ## Modules diff --git a/modules/resolver-inbound-endpoint/versions.tf b/modules/resolver-inbound-endpoint/versions.tf index 221271d..dbff330 100644 --- a/modules/resolver-inbound-endpoint/versions.tf +++ b/modules/resolver-inbound-endpoint/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.2" + required_version = ">= 1.5" required_providers { aws = { diff --git a/modules/resolver-query-logging/README.md b/modules/resolver-query-logging/README.md index b42dacb..b6dd675 100644 --- a/modules/resolver-query-logging/README.md +++ b/modules/resolver-query-logging/README.md @@ -13,14 +13,14 @@ This module creates following resources. | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | >= 1.3 | +| [terraform](#requirement\_terraform) | >= 1.5 | | [aws](#requirement\_aws) | >= 4.27 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | 4.40.0 | +| [aws](#provider\_aws) | 5.19.0 | ## Modules diff --git a/modules/resolver-query-logging/versions.tf b/modules/resolver-query-logging/versions.tf index 1566320..dbff330 100644 --- a/modules/resolver-query-logging/versions.tf +++ b/modules/resolver-query-logging/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.3" + required_version = ">= 1.5" required_providers { aws = { From 11d681d7432d75be49064dfed0122d7979233fff Mon Sep 17 00:00:00 2001 From: Byungjin Park Date: Tue, 3 Oct 2023 03:06:34 +0900 Subject: [PATCH 2/2] Update pre-commit --- .pre-commit-config.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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