diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 62d9b3d..542803e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ # misc checks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.6.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -18,12 +18,12 @@ repos: exclude: "tests/data/gcp-mock-credentials.json" # checking yaml formatting - repo: https://github.com/adrienverge/yamllint - rev: v1.32.0 + rev: v1.35.1 hooks: - id: yamllint # checking spelling - repo: https://github.com/codespell-project/codespell - rev: v2.2.5 + rev: v2.2.6 hooks: - id: codespell exclude: > diff --git a/project.cue b/project.cue index 18f9dcc..e9db0dc 100644 --- a/project.cue +++ b/project.cue @@ -60,7 +60,7 @@ import "universe.dagger.io/docker" _tf_build: docker.#Build & { steps: [ docker.#Pull & { - source: "ghcr.io/antonbabenko/pre-commit-terraform:v1.83.3" + source: "ghcr.io/antonbabenko/pre-commit-terraform:v1.88.4" }, docker.#Set & { config: { diff --git a/{{ cookiecutter.project_name }}/.pre-commit-config.yaml b/{{ cookiecutter.project_name }}/.pre-commit-config.yaml index a58ae8f..90a34ca 100644 --- a/{{ cookiecutter.project_name }}/.pre-commit-config.yaml +++ b/{{ cookiecutter.project_name }}/.pre-commit-config.yaml @@ -4,7 +4,7 @@ # misc checks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.6.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -14,18 +14,18 @@ repos: - id: detect-private-key # checking yaml formatting - repo: https://github.com/adrienverge/yamllint - rev: v1.32.0 + rev: v1.35.1 hooks: - id: yamllint # checking spelling - repo: https://github.com/codespell-project/codespell - rev: v2.2.5 + rev: v2.2.6 hooks: - id: codespell exclude: > - (?x)^( - .*\.lock|.*\.csv - )$ + (?x)^( + .*\.lock|.*\.csv + )$ # checking markdown formatting - repo: https://github.com/executablebooks/mdformat rev: 0.7.17 @@ -33,13 +33,13 @@ repos: - id: mdformat # ignore terraform autogenerated docs exclude: > - (?x)^( - terraform/.* | - terraform/.*/.* - )$ + (?x)^( + terraform/.* | + terraform/.*/.* + )$ # linting for terraform - repo: https://github.com/antonbabenko/pre-commit-terraform - rev: v1.83.3 + rev: v1.88.4 hooks: - id: terraform_docs args: @@ -48,4 +48,4 @@ repos: - --hook-config=--create-file-if-not-exist=true - id: terraform_fmt - id: terraform_tflint - - id: terraform_tfsec + - id: terraform_trivy diff --git a/{{ cookiecutter.project_name }}/README.md b/{{ cookiecutter.project_name }}/README.md index 7fa5cc6..5fe6cdb 100644 --- a/{{ cookiecutter.project_name }}/README.md +++ b/{{ cookiecutter.project_name }}/README.md @@ -28,7 +28,7 @@ This repository uses [Terraform](https://developer.hashicorp.com/terraform/intro See below for an overview of roles which are important to context for various parts of this repository. - __Terraform Administrator__: this role involves administrating over cloud resources created with Terraform. Content found under the `terraform` directory and following steps under [Tutorial: Bucket Infrastructure](#%EF%B8%8F-bucket-infrastructure) apply to this role. -- __Data Provider__: this role involves using content under `utilties/data-provider` to synchronize (add, update, or remove) data to the bucket created by a Terraform Administrator. Instructions specific to this role are provided under [`utilities/data-provider/README.md`](utilities/data-provider/README.md). +- __Data Provider__: this role involves using content under `utilities/data-provider` to synchronize (add, update, or remove) data to the bucket created by a Terraform Administrator. Instructions specific to this role are provided under [`utilities/data-provider/README.md`](utilities/data-provider/README.md). - __Data Receiver__: this role is involved with downloading content from the bucket after it has been uploaded by the data provider. Associated content may be found under [`utilities/data-receiver/README.md`](utilities/data-receiver/README.md). ## 🛠️ Install diff --git a/{{ cookiecutter.project_name }}/terraform/operations/README.md b/{{ cookiecutter.project_name }}/terraform/operations/README.md index 16d3091..59ac6d5 100644 --- a/{{ cookiecutter.project_name }}/terraform/operations/README.md +++ b/{{ cookiecutter.project_name }}/terraform/operations/README.md @@ -5,7 +5,7 @@ | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | ~> 1.5.7 | +| [terraform](#requirement\_terraform) | ~> 1.7.5 | | [google](#requirement\_google) | ~> 4.83.0 | | [local](#requirement\_local) | ~> 2.4.0 | diff --git a/{{ cookiecutter.project_name }}/terraform/operations/versions.tf b/{{ cookiecutter.project_name }}/terraform/operations/versions.tf index 6c64340..04a0577 100644 --- a/{{ cookiecutter.project_name }}/terraform/operations/versions.tf +++ b/{{ cookiecutter.project_name }}/terraform/operations/versions.tf @@ -1,6 +1,6 @@ # tf versions terraform { - required_version = "~> 1.5.7" + required_version = "~> 1.7.5" required_providers { google = { source = "hashicorp/google" diff --git a/{{ cookiecutter.project_name }}/terraform/state-management/README.md b/{{ cookiecutter.project_name }}/terraform/state-management/README.md index e86041a..ed68bc3 100644 --- a/{{ cookiecutter.project_name }}/terraform/state-management/README.md +++ b/{{ cookiecutter.project_name }}/terraform/state-management/README.md @@ -5,7 +5,7 @@ | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | ~> 1.5.7 | +| [terraform](#requirement\_terraform) | ~> 1.7.5 | | [google](#requirement\_google) | ~> 4.83.0 | ## Providers diff --git a/{{ cookiecutter.project_name }}/terraform/state-management/versions.tf b/{{ cookiecutter.project_name }}/terraform/state-management/versions.tf index a5d279f..4128ff6 100644 --- a/{{ cookiecutter.project_name }}/terraform/state-management/versions.tf +++ b/{{ cookiecutter.project_name }}/terraform/state-management/versions.tf @@ -1,6 +1,6 @@ # tf versions terraform { - required_version = "~> 1.5.7" + required_version = "~> 1.7.5" required_providers { google = { source = "hashicorp/google"