From ba3f1e0f2f6546f2cd55b180b5c5153cc0752dc0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 9 Nov 2024 08:28:33 +0000 Subject: [PATCH 1/3] chore(deps): update pre-commit --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fd4fe7587..cf0b380ac 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,11 +9,11 @@ ci: submodules: false repos: - repo: https://github.com/renovatebot/pre-commit-hooks - rev: 39.7.6 + rev: 39.8.0 hooks: - id: renovate-config-validator - repo: https://github.com/eslint/eslint - rev: v9.3.0 + rev: v9.14.0 hooks: - id: eslint args: @@ -26,7 +26,7 @@ repos: exclude: ^(src/test/resources/yourkey.txt|src/test/resources/secondkey.txt) - id: trailing-whitespace - repo: https://github.com/antonbabenko/pre-commit-terraform - rev: v1.89.1 + rev: v1.96.2 hooks: - id: terraform_fmt - id: terraform_tflint @@ -46,7 +46,7 @@ repos: - "--args=--only=terraform_workspace_remote" - id: terraform_docs - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook - rev: v9.16.0 + rev: v9.18.0 hooks: - id: commitlint stages: [commit-msg] @@ -57,7 +57,7 @@ repos: args: ["clean compile"] - id: maven-spotless-apply - repo: https://github.com/psf/black - rev: 24.4.2 + rev: 24.10.0 hooks: - id: black language_version: python3.11 From 059005b23062565e58c20f00c375f040724e555d Mon Sep 17 00:00:00 2001 From: Ben de Haan <53901866+bendehaan@users.noreply.github.com> Date: Sat, 9 Nov 2024 09:37:17 +0100 Subject: [PATCH 2/3] fix: account for new tf docs --- aws/README.md | 6 +++--- aws/shared-state/README.md | 4 ++-- azure/README.md | 4 ++-- azure/shared-state/README.md | 4 ++-- gcp/README.md | 4 ++-- gcp/shared-state/README.md | 4 ++-- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/aws/README.md b/aws/README.md index f6d20ea42..2bd78db66 100644 --- a/aws/README.md +++ b/aws/README.md @@ -109,7 +109,7 @@ Want to see if the setup still works? You can use terratest to check if the curr ## Terraform documentation The documentation below is auto-generated to give insight on what's created via Terraform. - + ## Requirements | Name | Version | @@ -168,7 +168,7 @@ The documentation below is auto-generated to give insight on what's created via | [cluster\_name](#input\_cluster\_name) | The EKS cluster name | `string` | `"wrongsecrets-exercise-cluster"` | no | | [cluster\_version](#input\_cluster\_version) | The EKS cluster version to use | `string` | `"1.30"` | no | | [region](#input\_region) | The AWS region to use | `string` | `"eu-west-1"` | no | -| [tags](#input\_tags) | List of tags to apply to resources | `map(string)` |
{
"Application": "wrongsecrets"
}
| no | +| [tags](#input\_tags) | List of tags to apply to resources | `map(string)` |
{
"Application": "wrongsecrets"
}
| no | ## Outputs @@ -179,4 +179,4 @@ The documentation below is auto-generated to give insight on what's created via | [cluster\_security\_group\_id](#output\_cluster\_security\_group\_id) | Security group ids attached to the cluster control plane. | | [irsa\_role](#output\_irsa\_role) | The role ARN used in the IRSA setup | | [secrets\_manager\_secret\_name](#output\_secrets\_manager\_secret\_name) | The name of the secrets manager secret | - + diff --git a/aws/shared-state/README.md b/aws/shared-state/README.md index 31a7827f9..05af961c8 100644 --- a/aws/shared-state/README.md +++ b/aws/shared-state/README.md @@ -1,7 +1,7 @@ # Terraform documentation The documentation below is auto-generated to give insight on what's created via Terraform. - + ## Requirements | Name | Version | @@ -37,4 +37,4 @@ No modules. | Name | Description | |------|-------------| | [s3\_bucket\_name](#output\_s3\_bucket\_name) | Name of the terraform state bucket | - + diff --git a/azure/README.md b/azure/README.md index 600f80593..4d7d275eb 100644 --- a/azure/README.md +++ b/azure/README.md @@ -100,7 +100,7 @@ Want to see if the setup still works? You can use terratest to check if the curr ## Terraform documentation The documentation below is auto-generated to give insight on what's created via Terraform. - + ## Requirements | Name | Version | @@ -168,4 +168,4 @@ No modules. | [tenant\_id](#output\_tenant\_id) | Azure tenant ID | | [vault\_name](#output\_vault\_name) | Vault name | | [vault\_uri](#output\_vault\_uri) | Vault URI | - + diff --git a/azure/shared-state/README.md b/azure/shared-state/README.md index c5e26a181..88f6269cf 100644 --- a/azure/shared-state/README.md +++ b/azure/shared-state/README.md @@ -1,7 +1,7 @@ # Terraform documentation The documentation below is auto-generated to give insight on what's created via Terraform. - + ## Requirements | Name | Version | @@ -42,4 +42,4 @@ No modules. | Name | Description | |------|-------------| | [storage\_account\_name](#output\_storage\_account\_name) | The generated storage account name | - + diff --git a/gcp/README.md b/gcp/README.md index f0bd49c0d..4242a466a 100644 --- a/gcp/README.md +++ b/gcp/README.md @@ -101,7 +101,7 @@ Want to see if the setup still works? You can use terratest to check if the curr The documentation below is auto-generated to give insight on what's created via Terraform. - + ## Requirements | Name | Version | @@ -168,4 +168,4 @@ No modules. | [kubernetes\_cluster\_name](#output\_kubernetes\_cluster\_name) | GKE Cluster Name | | [project\_id](#output\_project\_id) | GCloud Project ID | | [region](#output\_region) | GCloud Region | - + diff --git a/gcp/shared-state/README.md b/gcp/shared-state/README.md index 4ad53a54b..0fdb1589d 100644 --- a/gcp/shared-state/README.md +++ b/gcp/shared-state/README.md @@ -1,7 +1,7 @@ # Terraform documentation The documentation below is auto-generated to give insight on what's created via Terraform. - + ## Requirements | Name | Version | @@ -40,4 +40,4 @@ No modules. | Name | Description | |------|-------------| | [bucket](#output\_bucket) | Terraform backend storage bucket | - + From 93a9b56f18a4e8c885a054cbfaceaad935a36910 Mon Sep 17 00:00:00 2001 From: Ben de Haan <53901866+bendehaan@users.noreply.github.com> Date: Sat, 9 Nov 2024 09:39:10 +0100 Subject: [PATCH 3/3] fix: bump versions in workflow --- .github/workflows/pre-commit.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 737706344..8c6d99136 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -7,9 +7,9 @@ on: workflow_dispatch: env: - TF_DOCS_VERSION: v0.16.0 - TFSEC_VERSION: v1.28.6 - TFLINT_VERSION: v0.47.0 + TF_DOCS_VERSION: v0.19.0 + TFSEC_VERSION: v1.28.11 + TFLINT_VERSION: v0.53.0 permissions: contents: read jobs: @@ -31,8 +31,8 @@ jobs: cache: "npm" - uses: actions/setup-java@v4 with: - distribution: 'oracle' - java-version: '23' + distribution: "oracle" + java-version: "23" - name: Install npm dependencies run: npm install - uses: actions/cache@v4