diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml
index 3973df4..1e50760 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 c2632d1..a19ff83 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 395404e..a6cd369 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_docs
@@ -21,10 +21,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/examples/complete/README.md b/examples/complete/README.md
index ba1fc50..c624de1 100644
--- a/examples/complete/README.md
+++ b/examples/complete/README.md
@@ -16,7 +16,7 @@ $ terraform apply
Run `terraform destroy` when you don't need these resources.
-
+
## Requirements
| Name | Version |
@@ -58,4 +58,4 @@ No inputs.
| [pricing\_resources](#output\_pricing\_resources) | Map of provided resources with filters |
| [pricing\_total\_price\_per\_hour](#output\_pricing\_total\_price\_per\_hour) | Total price for all resources |
| [pricing\_total\_price\_per\_month](#output\_pricing\_total\_price\_per\_month) | Total price for all resources per month (730 hours) |
-
+
diff --git a/examples/cost-modules-tf/README.md b/examples/cost-modules-tf/README.md
index 6008a22..2b20859 100644
--- a/examples/cost-modules-tf/README.md
+++ b/examples/cost-modules-tf/README.md
@@ -14,7 +14,7 @@ $ terraform apply
Run `terraform destroy` when you don't need these resources.
-
+
## Requirements
| Name | Version |
@@ -57,4 +57,4 @@ No inputs.
| [price\_plan](#output\_price\_plan) | Costs for local file - plan |
| [price\_tfstate](#output\_price\_tfstate) | Costs for local file - state |
| [price\_tfstate\_with\_terraform\_remote\_state](#output\_price\_tfstate\_with\_terraform\_remote\_state) | Costs for remote state |
-
+
diff --git a/examples/pricing-dev/README.md b/examples/pricing-dev/README.md
index fec96d8..542fe66 100644
--- a/examples/pricing-dev/README.md
+++ b/examples/pricing-dev/README.md
@@ -12,7 +12,7 @@ $ terraform apply
Run `terraform destroy` when you don't need these resources.
-
+
## Requirements
| Name | Version |
@@ -55,4 +55,4 @@ No inputs.
| [pricing\_resources](#output\_pricing\_resources) | Map of provided resources with filters |
| [pricing\_total\_price\_per\_hour](#output\_pricing\_total\_price\_per\_hour) | Total price for all resources |
| [pricing\_total\_price\_per\_month](#output\_pricing\_total\_price\_per\_month) | Total price for all resources per month (730 hours) |
-
+
diff --git a/examples/pricing-resources/README.md b/examples/pricing-resources/README.md
index 922896d..d188530 100644
--- a/examples/pricing-resources/README.md
+++ b/examples/pricing-resources/README.md
@@ -16,7 +16,7 @@ $ terraform apply
Run `terraform destroy` when you don't need these resources.
-
+
## Requirements
| Name | Version |
@@ -53,4 +53,4 @@ No inputs.
| [resources](#output\_resources) | Map of provided resources with filters |
| [total\_price\_per\_hour](#output\_total\_price\_per\_hour) | Total price for all resources |
| [total\_price\_per\_month](#output\_total\_price\_per\_month) | Total price for all resources per month (730 hours) |
-
+
diff --git a/examples/pricing-terraform-state-and-plan/README.md b/examples/pricing-terraform-state-and-plan/README.md
index 478483f..2c35d5e 100644
--- a/examples/pricing-terraform-state-and-plan/README.md
+++ b/examples/pricing-terraform-state-and-plan/README.md
@@ -16,7 +16,7 @@ $ terraform apply
Run `terraform destroy` when you don't need these resources.
-
+
## Requirements
| Name | Version |
@@ -68,4 +68,4 @@ No inputs.
| [pricing\_state\_resources](#output\_pricing\_state\_resources) | Map of provided resources with filters |
| [pricing\_state\_total\_price\_per\_hour](#output\_pricing\_state\_total\_price\_per\_hour) | Total price for all resources |
| [pricing\_state\_total\_price\_per\_month](#output\_pricing\_state\_total\_price\_per\_month) | Total price for all resources per month (730 hours) |
-
+
diff --git a/modules/cost.modules.tf/README.md b/modules/cost.modules.tf/README.md
index 283c80e..f8914d5 100644
--- a/modules/cost.modules.tf/README.md
+++ b/modules/cost.modules.tf/README.md
@@ -6,7 +6,7 @@ This module gets cost estimation from `cost.modules.tf` service based on the pro
See [repository terraform-cost-estimation](https://github.com/antonbabenko/terraform-cost-estimation) and [terraform-cost-estimation.com](https://www.terraform-cost-estimation.com/) for more information.
-
+
## Requirements
| Name | Version |
@@ -50,4 +50,4 @@ No modules.
| [costs](#output\_costs) | Total costs |
| [hourly](#output\_hourly) | Hourly costs |
| [monthly](#output\_monthly) | Monthly costs |
-
+
diff --git a/modules/pricing/README.md b/modules/pricing/README.md
index 4057818..aa68e3e 100644
--- a/modules/pricing/README.md
+++ b/modules/pricing/README.md
@@ -29,7 +29,7 @@ add support for new types of resources.
`regions.tf` contains logic for expanding AWS regions map which is expected by Pricing API.
-
+
## Requirements
| Name | Version |
@@ -82,4 +82,4 @@ No modules.
| [resources](#output\_resources) | Map of provided resources with filters |
| [total\_price\_per\_hour](#output\_total\_price\_per\_hour) | Total price for all resources per hour |
| [total\_price\_per\_month](#output\_total\_price\_per\_month) | Total price for all resources per month (730 hours) |
-
+