Skip to content

Commit df8f584

Browse files
kogunlowo123claude
andcommitted
chore: add pre-commit hooks and update CI terraform to 1.10.3
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ddbac8c commit df8f584

2 files changed

Lines changed: 20 additions & 2 deletions

File tree

.github/workflows/terraform-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup Terraform
2222
uses: hashicorp/setup-terraform@v3
2323
with:
24-
terraform_version: "1.7.0"
24+
terraform_version: "1.10.3"
2525

2626
- name: Terraform Format Check
2727
run: terraform fmt -check -recursive
@@ -63,7 +63,7 @@ jobs:
6363
- name: Setup Terraform
6464
uses: hashicorp/setup-terraform@v3
6565
with:
66-
terraform_version: "1.7.0"
66+
terraform_version: "1.10.3"
6767

6868
- name: Validate Examples
6969
run: |

.pre-commit-config.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v6.0.0
4+
hooks:
5+
- id: trailing-whitespace
6+
7+
- repo: https://github.com/antonbabenko/pre-commit-terraform
8+
rev: v1.105.0
9+
hooks:
10+
- id: terraform_fmt
11+
- id: terraform_validate
12+
- id: terraform_tflint
13+
14+
- repo: https://github.com/Yelp/detect-secrets
15+
rev: v1.5.0
16+
hooks:
17+
- id: detect-secrets
18+

0 commit comments

Comments
 (0)