From 7f425a22c8f375ddff94d8a0f8a08b3b4ec9a98a Mon Sep 17 00:00:00 2001 From: "Byungjin Park (Claud)" Date: Tue, 3 Oct 2023 19:09:34 +0900 Subject: [PATCH] Update terraform version to v1.5 (#12) --- .pre-commit-config.yaml | 5 ++++- examples/service-ip-ranges/versions.tf | 2 +- modules/service-ip-ranges/README.md | 4 ++-- modules/service-ip-ranges/versions.tf | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) 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 diff --git a/examples/service-ip-ranges/versions.tf b/examples/service-ip-ranges/versions.tf index fb0c2d8..6bd2ebf 100644 --- a/examples/service-ip-ranges/versions.tf +++ b/examples/service-ip-ranges/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = "~> 1.3" + required_version = "~> 1.5" required_providers { # tflint-ignore: terraform_unused_required_providers diff --git a/modules/service-ip-ranges/README.md b/modules/service-ip-ranges/README.md index fb569b6..5c518e0 100644 --- a/modules/service-ip-ranges/README.md +++ b/modules/service-ip-ranges/README.md @@ -7,14 +7,14 @@ This module does not create any resources. | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | >= 1.3 | +| [terraform](#requirement\_terraform) | >= 1.5 | | [http](#requirement\_http) | >= 3.0.0 | ## Providers | Name | Version | |------|---------| -| [http](#provider\_http) | 3.2.1 | +| [http](#provider\_http) | 3.4.0 | ## Modules diff --git a/modules/service-ip-ranges/versions.tf b/modules/service-ip-ranges/versions.tf index 5e5d2b0..790f366 100644 --- a/modules/service-ip-ranges/versions.tf +++ b/modules/service-ip-ranges/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.3" + required_version = ">= 1.5" required_providers { http = {