From b9cd86ba03f3da88aab6bc50ca81cb5807ac10fa Mon Sep 17 00:00:00 2001 From: Bryant Biggs Date: Fri, 11 Oct 2024 10:02:45 -0500 Subject: [PATCH] fix: Update CI workflow versions to latest --- .github/workflows/pr-title.yml | 2 +- .github/workflows/pre-commit.yml | 14 +++++++------- .pre-commit-config.yaml | 5 ++--- README.md | 4 ++-- examples/complete-alb/README.md | 4 ++-- examples/complete-nlb/README.md | 4 ++-- examples/mutual-auth-alb/README.md | 4 ++-- modules/lb_trust_store/README.md | 4 ++-- wrappers/lb_trust_store/versions.tf | 9 ++++++++- wrappers/versions.tf | 9 ++++++++- 10 files changed, 36 insertions(+), 23 deletions(-) diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml index 3973df44..1e50760e 100644 --- a/.github/workflows/pr-title.yml +++ b/.github/workflows/pr-title.yml @@ -14,7 +14,7 @@ jobs: steps: # Please look up the latest version from # https://github.com/amannn/action-semantic-pull-request/releases - - uses: amannn/action-semantic-pull-request@v5.4.0 + - uses: amannn/action-semantic-pull-request@v5.5.3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index c2632d1a..a19ff831 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -7,8 +7,8 @@ on: - master env: - TERRAFORM_DOCS_VERSION: v0.16.0 - TFLINT_VERSION: v0.50.3 + TERRAFORM_DOCS_VERSION: v0.19.0 + TFLINT_VERSION: v0.53.0 jobs: collectInputs: @@ -45,14 +45,14 @@ jobs: - name: Terraform min/max versions id: minMax - uses: clowdhaus/terraform-min-max@v1.3.0 + uses: clowdhaus/terraform-min-max@v1.3.1 with: directory: ${{ matrix.directory }} - name: Pre-commit Terraform ${{ steps.minMax.outputs.minVersion }} # Run only validate pre-commit check on min version supported if: ${{ matrix.directory != '.' }} - uses: clowdhaus/terraform-composite-actions/pre-commit@v1.9.0 + uses: clowdhaus/terraform-composite-actions/pre-commit@v1.11.1 with: terraform-version: ${{ steps.minMax.outputs.minVersion }} tflint-version: ${{ env.TFLINT_VERSION }} @@ -61,7 +61,7 @@ jobs: - name: Pre-commit Terraform ${{ steps.minMax.outputs.minVersion }} # Run only validate pre-commit check on min version supported if: ${{ matrix.directory == '.' }} - uses: clowdhaus/terraform-composite-actions/pre-commit@v1.9.0 + uses: clowdhaus/terraform-composite-actions/pre-commit@v1.11.1 with: terraform-version: ${{ steps.minMax.outputs.minVersion }} tflint-version: ${{ env.TFLINT_VERSION }} @@ -88,10 +88,10 @@ jobs: - name: Terraform min/max versions id: minMax - uses: clowdhaus/terraform-min-max@v1.3.0 + uses: clowdhaus/terraform-min-max@v1.3.1 - name: Pre-commit Terraform ${{ steps.minMax.outputs.maxVersion }} - uses: clowdhaus/terraform-composite-actions/pre-commit@v1.9.0 + uses: clowdhaus/terraform-composite-actions/pre-commit@v1.11.1 with: terraform-version: ${{ steps.minMax.outputs.maxVersion }} tflint-version: ${{ env.TFLINT_VERSION }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7c0a310c..7e4e7daf 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.88.0 + rev: v1.96.1 hooks: - id: terraform_fmt - id: terraform_wrapper_module_for_each @@ -22,10 +22,9 @@ repos: - '--args=--only=terraform_required_providers' - '--args=--only=terraform_standard_module_structure' - '--args=--only=terraform_workspace_remote' - - '--args=--only=terraform_unused_required_providers' - id: terraform_validate - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v5.0.0 hooks: - id: check-merge-conflict - id: end-of-file-fixer diff --git a/README.md b/README.md index 1b24ce84..5627ac70 100644 --- a/README.md +++ b/README.md @@ -346,7 +346,7 @@ module "alb" { See [patterns.md](https://github.com/terraform-aws-modules/terraform-aws-alb/blob/master/docs/patterns.md) for additional configuration snippets for common usage patterns. - + ## Requirements | Name | Version | @@ -448,7 +448,7 @@ No modules. | [security\_group\_id](#output\_security\_group\_id) | ID of the security group | | [target\_groups](#output\_target\_groups) | Map of target groups created and their attributes | | [zone\_id](#output\_zone\_id) | The zone\_id of the load balancer to assist with creating DNS records | - + ## Authors diff --git a/examples/complete-alb/README.md b/examples/complete-alb/README.md index 39b3121c..4168e345 100644 --- a/examples/complete-alb/README.md +++ b/examples/complete-alb/README.md @@ -14,7 +14,7 @@ $ terraform apply Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources. - + ## Requirements | Name | Version | @@ -81,4 +81,4 @@ Note that this example may create resources which cost money. Run `terraform des | [security\_group\_id](#output\_security\_group\_id) | ID of the security group | | [target\_groups](#output\_target\_groups) | Map of target groups created and their attributes | | [zone\_id](#output\_zone\_id) | The zone\_id of the load balancer to assist with creating DNS records | - + diff --git a/examples/complete-nlb/README.md b/examples/complete-nlb/README.md index 763b91d1..07b5cb4e 100644 --- a/examples/complete-nlb/README.md +++ b/examples/complete-nlb/README.md @@ -14,7 +14,7 @@ $ terraform apply Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources. - + ## Requirements | Name | Version | @@ -68,4 +68,4 @@ Note that this example may create resources which cost money. Run `terraform des | [security\_group\_id](#output\_security\_group\_id) | ID of the security group | | [target\_groups](#output\_target\_groups) | Map of target groups created and their attributes | | [zone\_id](#output\_zone\_id) | The zone\_id of the load balancer to assist with creating DNS records | - + diff --git a/examples/mutual-auth-alb/README.md b/examples/mutual-auth-alb/README.md index b8ba33ef..852bcf03 100644 --- a/examples/mutual-auth-alb/README.md +++ b/examples/mutual-auth-alb/README.md @@ -15,7 +15,7 @@ $ terraform apply Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources. - + ## Requirements | Name | Version | @@ -86,4 +86,4 @@ Note that this example may create resources which cost money. Run `terraform des | [target\_groups](#output\_target\_groups) | Map of target groups created and their attributes | | [trust\_store](#output\_trust\_store) | Map of trust store attributes | | [zone\_id](#output\_zone\_id) | The zone\_id of the load balancer to assist with creating DNS records | - + diff --git a/modules/lb_trust_store/README.md b/modules/lb_trust_store/README.md index ffc9790d..4f6e8067 100644 --- a/modules/lb_trust_store/README.md +++ b/modules/lb_trust_store/README.md @@ -24,7 +24,7 @@ module "trust_store" { } ``` - + ## Requirements | Name | Version | @@ -72,4 +72,4 @@ No modules. | [trust\_store\_arn\_suffix](#output\_trust\_store\_arn\_suffix) | ARN suffix for use with cloudwatch metrics. | | [trust\_store\_id](#output\_trust\_store\_id) | ARN of the trust store (matches `arn`). | | [trust\_store\_name](#output\_trust\_store\_name) | Name of the trust store. | - + diff --git a/wrappers/lb_trust_store/versions.tf b/wrappers/lb_trust_store/versions.tf index 51cad108..53040bf6 100644 --- a/wrappers/lb_trust_store/versions.tf +++ b/wrappers/lb_trust_store/versions.tf @@ -1,3 +1,10 @@ terraform { - required_version = ">= 0.13.1" + required_version = ">= 1.0" + + required_providers { + aws = { + source = "hashicorp/aws" + version = ">= 5.62" + } + } } diff --git a/wrappers/versions.tf b/wrappers/versions.tf index 51cad108..53040bf6 100644 --- a/wrappers/versions.tf +++ b/wrappers/versions.tf @@ -1,3 +1,10 @@ terraform { - required_version = ">= 0.13.1" + required_version = ">= 1.0" + + required_providers { + aws = { + source = "hashicorp/aws" + version = ">= 5.62" + } + } }