diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml index 2d3f60e..daa5212 100644 --- a/.github/workflows/validate.yaml +++ b/.github/workflows/validate.yaml @@ -40,10 +40,12 @@ jobs: with: terraform_version: ${{ matrix.tf_ver }} - - name: Terraform Init - id: init - run: terraform init - - - name: Terraform Validate - id: validate - run: terraform validate + - name: Validate module + run: | + terraform init + terraform validate + - name: Validate example + run: | + cd examples/basic + terraform init + terraform validate diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6b572bb..b105c2c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,10 +31,3 @@ repos: - id: detect-secrets args: ['--baseline', '.secrets.baseline'] exclude: terraform.tfstate - - - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook - rev: v8.0.0 - hooks: - - id: commitlint - stages: [commit-msg] - additional_dependencies: ['@commitlint/config-conventional'] diff --git a/README.md b/README.md index 60b4237..4d87458 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ See [Basic example](examples/basic/README.md) for further information. | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | >= 0.14 | +| [terraform](#requirement\_terraform) | >= 1.0 | | [aws](#requirement\_aws) | >= 4.19.0 | | [helm](#requirement\_helm) | >= 2.6.0 | | [kubernetes](#requirement\_kubernetes) | >= 2.11.0 | diff --git a/versions.tf b/versions.tf index 30934e5..ea8c3a1 100644 --- a/versions.tf +++ b/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 0.14" + required_version = ">= 1.0" required_providers { aws = {