From a43bb483c0c2e16063ccfc139ee552c7cc5824c4 Mon Sep 17 00:00:00 2001 From: Byungjin Park Date: Tue, 3 Oct 2023 02:23:26 +0900 Subject: [PATCH 1/2] Update terraform version to v1.5 --- .github/workflows/sync-labels.yaml | 2 +- .github/workflows/terraform.integration.yaml | 2 +- .github/workflows/yaml.integration.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sync-labels.yaml b/.github/workflows/sync-labels.yaml index 60e141d..d43aa13 100644 --- a/.github/workflows/sync-labels.yaml +++ b/.github/workflows/sync-labels.yaml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Sync labels uses: crazy-max/ghaction-github-labeler@v5 diff --git a/.github/workflows/terraform.integration.yaml b/.github/workflows/terraform.integration.yaml index 5c447f0..ef58145 100644 --- a/.github/workflows/terraform.integration.yaml +++ b/.github/workflows/terraform.integration.yaml @@ -25,7 +25,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/yaml.integration.yaml b/.github/workflows/yaml.integration.yaml index 9d935b3..c2233c0 100644 --- a/.github/workflows/yaml.integration.yaml +++ b/.github/workflows/yaml.integration.yaml @@ -23,7 +23,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 From 5294ede0b4f44cf210a893b9a5187d69fec69504 Mon Sep 17 00:00:00 2001 From: Byungjin Park Date: Tue, 3 Oct 2023 03:05:12 +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