Commit graph

116 commits

Author SHA1 Message Date
semantic-release-bot
5af24ae7a6 chore(release): version 2.1.0 [skip ci]
# [2.1.0](https://github.com/tofuutils/pre-commit-opentofu/compare/v2.0.0...v2.1.0) (2024-10-16)

### Features

* spport .tofu files ([#6](https://github.com/tofuutils/pre-commit-opentofu/issues/6)) ([e059c58](e059c5859b))
2024-10-16 20:56:03 +00:00
semantic-release-bot
81b78c8fd7 chore(release): version 2.0.0 [skip ci]
# [2.0.0](https://github.com/tofuutils/pre-commit-opentofu/compare/v1.0.4...v2.0.0) (2024-09-25)

### Features

* **tofu:** add handling for missing tofu binary in Docker image  This commit introduces logic to gracefully handle the case when the tofu binary is not found in the Docker image, improving the overall user experience.  BREAKING CHANGE: The previous behavior of the application when the tofu binary was missing may have caused unexpected crashes. ([14fc63e](14fc63eb5b))

### BREAKING CHANGES

* **tofu:** The previous behavior of the application when the tofu binary was missing may have caused unexpected crashes."
2024-09-25 00:39:10 +00:00
semantic-release-bot
1c56b206df chore(release): version 1.0.4 [skip ci]
## [1.0.4](https://github.com/tofuutils/pre-commit-opentofu/compare/v1.0.3...v1.0.4) (2024-09-21)

### Bug Fixes

* docker image reference in README.md ([7b04f0c](7b04f0c249))
* docker image reference in README.md ([f9b71fe](f9b71fe08f))
* dockerhub ([0fac591](0fac59197f))
* entry for tofu_docs_replace ([f146463](f146463ac8))
2024-09-21 20:23:14 +00:00
semantic-release-bot
061cc7c398 chore(release): version 1.0.2 [skip ci]
## [1.0.2](https://github.com/tofuutils/pre-commit-opentofu/compare/v1.0.1...v1.0.2) (2024-03-08)

### Bug Fixes

* remove obsolete terraform checks and awk file hack ([97cba7a](97cba7a646))
2024-03-08 13:00:34 +00:00
semantic-release-bot
650713c088 chore(release): version 1.0.1 [skip ci]
## [1.0.1](https://github.com/tofuutils/pre-commit-opentofu/compare/v1.0.0...v1.0.1) (2024-03-07)

### Bug Fixes

* dockerfile ([65b197c](65b197c841))
2024-03-07 12:21:12 +00:00
Alexander Sharov
5e0e10c2d8 fix: docs 2024-01-21 21:01:18 +01:00
Alexander Sharov
2e537a9cd4 feat: rename pre-commit-terraform to pre-commit-opentofu, pt II 2024-01-17 00:29:39 +01:00
semantic-release-bot
8d41a13a73 chore(release): version 1.86.0 [skip ci]
# [1.86.0](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.85.0...v1.86.0) (2023-12-21)

### Features

* **`terraform_docs`:** Add `terraform-docs` default markers support and describe how to migrate to them ([#609](https://github.com/antonbabenko/pre-commit-terraform/issues/609)) ([4a0e1fe](4a0e1fed00))
2023-12-21 20:00:46 +00:00
semantic-release-bot
ef906bcaab chore(release): version 1.85.0 [skip ci]
# [1.85.0](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.84.0...v1.85.0) (2023-12-15)

### Features

* **trivy:** Add `terraform_trivy` hook and deprecate `terraform_tfsec` ([#606](https://github.com/antonbabenko/pre-commit-terraform/issues/606)) ([f3c819a](f3c819a747))
2023-12-15 14:54:43 +00:00
semantic-release-bot
cf0f3168e7 chore(release): version 1.84.0 [skip ci]
# [1.84.0](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.83.6...v1.84.0) (2023-12-12)

### Features

* **deps:** Bump Python version in docker image from 3.11.5 to v3.12.0 ([#597](https://github.com/antonbabenko/pre-commit-terraform/issues/597)) ([28e3cde](28e3cde152))
2023-12-12 17:28:05 +00:00
semantic-release-bot
92ce76f526 chore(release): version 1.83.6 [skip ci]
## [1.83.6](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.83.5...v1.83.6) (2023-11-16)

### Bug Fixes

* **`terraform_validate`:** Run `terraform init` on "Missing required provider" error ([#586](https://github.com/antonbabenko/pre-commit-terraform/issues/586)) ([6e2bb2e](6e2bb2e2a1))
2023-11-16 18:59:22 +00:00
semantic-release-bot
72c60aca47 chore(release): version 1.83.5 [skip ci]
## [1.83.5](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.83.4...v1.83.5) (2023-10-11)

### Bug Fixes

* Suppress duplicate error messages in `terraform_validate` ([#577](https://github.com/antonbabenko/pre-commit-terraform/issues/577)) ([4ea6b14](4ea6b14c6f))
2023-10-11 11:57:46 +00:00
semantic-release-bot
66a1469a7c chore(release): version 1.83.4 [skip ci]
## [1.83.4](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.83.3...v1.83.4) (2023-09-22)

### Bug Fixes

* Fix terraform_wrapper_module_for_each for when resource name contains 'variable' ([#573](https://github.com/antonbabenko/pre-commit-terraform/issues/573)) ([941177e](941177e066))
2023-09-22 07:18:38 +00:00
semantic-release-bot
ed1104c96d chore(release): version 1.83.3 [skip ci]
## [1.83.3](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.83.2...v1.83.3) (2023-09-15)

### Bug Fixes

* Run `terraform_tfsec` only on terraform code changes ([#571](https://github.com/antonbabenko/pre-commit-terraform/issues/571)) ([4253162](4253162614))
2023-09-15 15:44:44 +00:00
semantic-release-bot
ea0b9e34ed chore(release): version 1.83.2 [skip ci]
## [1.83.2](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.83.1...v1.83.2) (2023-09-04)

### Bug Fixes

* Extend `terraform_validate` `--retry-once-with-cleanup` errors list ([#566](https://github.com/antonbabenko/pre-commit-terraform/issues/566)) ([19188e5](19188e5c38))
2023-09-04 13:58:30 +00:00
semantic-release-bot
da379f6a95 chore(release): version 1.83.1 [skip ci]
## [1.83.1](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.83.0...v1.83.1) (2023-09-04)

### Bug Fixes

* Fixed ordering issue in terraform_wrapper_module_for_each hook ([#565](https://github.com/antonbabenko/pre-commit-terraform/issues/565)) ([dc12be1](dc12be1faf))
2023-09-04 10:10:05 +00:00
semantic-release-bot
32fb5c29e4 chore(release): version 1.83.0 [skip ci]
# [1.83.0](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.82.0...v1.83.0) (2023-08-25)

### Features

* Skip legacy modules (with provider block) in terraform_wrapper_module_for_each hook ([#560](https://github.com/antonbabenko/pre-commit-terraform/issues/560)) ([456cc76](456cc7616a))
2023-08-25 14:13:33 +00:00
semantic-release-bot
7c3428d9b0 chore(release): version 1.82.0 [skip ci]
# [1.82.0](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.81.2...v1.82.0) (2023-08-15)

### Features

* **docker:** Add ssh-client to Docker image to access private modules via ssh ([#553](https://github.com/antonbabenko/pre-commit-terraform/issues/553)) ([1d76157](1d76157c9d))
2023-08-15 15:03:09 +00:00
semantic-release-bot
6cdea1b431 chore(release): version 1.81.2 [skip ci]
## [1.81.2](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.81.1...v1.81.2) (2023-08-10)

### Bug Fixes

* Fix terraform_wrapper_module_for_each hook heredoc vars defaults ([#554](https://github.com/antonbabenko/pre-commit-terraform/issues/554)) ([6fd4263](6fd4263f59))
2023-08-10 18:36:08 +00:00
semantic-release-bot
9fe5655701 chore(release): version 1.81.1 [skip ci]
## [1.81.1](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.81.0...v1.81.1) (2023-08-10)

### Bug Fixes

* Fix the terraform_wrapper_module_for_each hook for modules without outputs or variables ([#552](https://github.com/antonbabenko/pre-commit-terraform/issues/552)) ([f24b3fa](f24b3fab71))
2023-08-10 11:44:29 +00:00
semantic-release-bot
3420134c37 chore(release): version 1.81.0 [skip ci]
# [1.81.0](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.80.0...v1.81.0) (2023-06-12)

### Features

* Speedup `terraform_validate` - firstly try run validate without checking is `.terraform/` is valid ([#524](https://github.com/antonbabenko/pre-commit-terraform/issues/524)) ([d0d08ac](d0d08ac63c))
2023-06-12 16:00:08 +00:00
semantic-release-bot
148eb8f778 chore(release): version 1.80.0 [skip ci]
# [1.80.0](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.79.1...v1.80.0) (2023-05-30)

### Features

* **`terraform_providers_lock`:** Add `--mode` option and deprecate previous workflow ([#528](https://github.com/antonbabenko/pre-commit-terraform/issues/528)) ([2426b52](2426b527ae))
2023-05-30 16:02:41 +00:00
semantic-release-bot
e9c7a0e223 chore(release): version 1.79.1 [skip ci]
## [1.79.1](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.79.0...v1.79.1) (2023-05-09)

### Bug Fixes

* Fix `terraform_providers_lock` hook broken in v1.79.0 ([#521](https://github.com/antonbabenko/pre-commit-terraform/issues/521)) ([6bfc5bf](6bfc5bf767))
2023-05-09 15:35:39 +00:00
semantic-release-bot
2e8e13f04a chore(release): version 1.79.0 [skip ci]
# [1.79.0](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.78.0...v1.79.0) (2023-05-08)

### Features

* TFLint: Add `--hook-config=--delegate-chdir` to use `tflint -chdir` ([#512](https://github.com/antonbabenko/pre-commit-terraform/issues/512)) ([1e9debc](1e9debc02f))
2023-05-08 15:32:33 +00:00
semantic-release-bot
c93cb4c14e chore(release): version 1.78.0 [skip ci]
# [1.78.0](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.77.4...v1.78.0) (2023-04-28)

### Features

* **ci:** Build multi-arch Docker images (`amd64`, `arm64`) ([#496](https://github.com/antonbabenko/pre-commit-terraform/issues/496)) ([923c2c6](923c2c6a1e))
2023-04-28 16:54:06 +00:00
semantic-release-bot
4a0e56fcf1 chore(release): version 1.77.4 [skip ci]
## [1.77.4](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.77.3...v1.77.4) (2023-04-28)

### Bug Fixes

* Speed up x2 TFLint hook execution in dirs with violations ([#514](https://github.com/antonbabenko/pre-commit-terraform/issues/514)) ([49974ab](49974ab9ef))
2023-04-28 15:58:17 +00:00
semantic-release-bot
e1d78ae917 chore(release): version 1.77.3 [skip ci]
## [1.77.3](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.77.2...v1.77.3) (2023-04-21)

### Bug Fixes

* Updates all dependencies used in Dockerfile and fix Docker image ([#507](https://github.com/antonbabenko/pre-commit-terraform/issues/507)) ([dc177fe](dc177fe29e))
2023-04-21 13:27:28 +00:00
semantic-release-bot
becc7c0716 chore(release): version 1.77.2 [skip ci]
## [1.77.2](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.77.1...v1.77.2) (2023-04-09)

### Bug Fixes

* Fixed spacing in `terraform_wrapper_module_for_each` hook ([#503](https://github.com/antonbabenko/pre-commit-terraform/issues/503)) ([ddc0d81](ddc0d81d31))
2023-04-09 08:41:37 +00:00
semantic-release-bot
7fb95618a9 chore(release): version 1.77.1 [skip ci]
## [1.77.1](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.77.0...v1.77.1) (2023-02-03)

### Bug Fixes

* Pass command line arguments to tflint init ([#487](https://github.com/antonbabenko/pre-commit-terraform/issues/487)) ([29a8c00](29a8c00251))
2023-02-03 15:44:56 +00:00
semantic-release-bot
1d54ea2b99 chore(release): version 1.77.0 [skip ci]
# [1.77.0](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.76.1...v1.77.0) (2022-11-26)

### Features

* Add `--retry-once-with-cleanup` to `terraform_validate` ([#441](https://github.com/antonbabenko/pre-commit-terraform/issues/441)) ([96fe3ef](96fe3ef657))
2022-11-26 18:38:49 +00:00
semantic-release-bot
a15204beed chore(release): version 1.76.1 [skip ci]
## [1.76.1](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.76.0...v1.76.1) (2022-11-26)

### Bug Fixes

* Describe migration instructions from `terraform_docs_replace` ([#451](https://github.com/antonbabenko/pre-commit-terraform/issues/451)) ([a8bcaa7](a8bcaa7975))
2022-11-26 18:36:28 +00:00
semantic-release-bot
07c6764c30 chore(release): version 1.76.0 [skip ci]
# [1.76.0](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.75.0...v1.76.0) (2022-10-06)

### Features

* Add support for version constraints in `tfupdate` ([#437](https://github.com/antonbabenko/pre-commit-terraform/issues/437)) ([a446642](a4466425fb))
2022-10-06 16:16:58 +00:00
semantic-release-bot
f5aa7c83b6 chore(release): version 1.75.0 [skip ci]
# [1.75.0](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.74.2...v1.75.0) (2022-09-07)

### Features

* Allow running container as non-root UID/GID for ownership issues (docker) ([#433](https://github.com/antonbabenko/pre-commit-terraform/issues/433)) ([abc2570](abc2570e42))
2022-09-07 12:20:24 +00:00
semantic-release-bot
005134b4d3 chore(release): version 1.74.2 [skip ci]
## [1.74.2](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.74.1...v1.74.2) (2022-09-02)

### Bug Fixes

* Fixed url for wrappers in generated README (terraform_wrapper_module_for_each) ([#429](https://github.com/antonbabenko/pre-commit-terraform/issues/429)) ([fe29c6c](fe29c6c71a))
2022-09-02 07:51:39 +00:00
semantic-release-bot
a78104c360 chore(release): version 1.74.1 [skip ci]
## [1.74.1](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.74.0...v1.74.1) (2022-07-13)

### Bug Fixes

* Passed scenario in `terraform_docs` hook now works as expected ([7ac2736](7ac2736ab9))
2022-07-13 15:24:08 +00:00
semantic-release-bot
331e751973 chore(release): version 1.74.0 [skip ci]
# [1.74.0](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.73.0...v1.74.0) (2022-07-12)

### Bug Fixes

* Add `--env-vars`, deprecate `--envs` ([#410](https://github.com/antonbabenko/pre-commit-terraform/issues/410)) ([2b35cad](2b35cad50f))
* Add `--tf-init-args`, deprecate `--init-args` ([#407](https://github.com/antonbabenko/pre-commit-terraform/issues/407)) ([c4f8251](c4f8251d30))

### Features

* Add support for set env vars inside hook runtime ([#408](https://github.com/antonbabenko/pre-commit-terraform/issues/408)) ([d490231](d4902313ce))
* Allow `terraform_providers_lock` specify terraform init args ([#406](https://github.com/antonbabenko/pre-commit-terraform/issues/406)) ([32b232f](32b232f039))
* Suppress color for all hooks if `PRE_COMMIT_COLOR=never` set ([#409](https://github.com/antonbabenko/pre-commit-terraform/issues/409)) ([b12f0c6](b12f0c662c))
2022-07-12 18:38:35 +00:00
semantic-release-bot
57467c56d4 chore(release): version 1.73.0 [skip ci]
# [1.73.0](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.72.2...v1.73.0) (2022-06-27)

### Features

* Add __GIT_WORKING_DIR__ to terraform_checkov ([#399](https://github.com/antonbabenko/pre-commit-terraform/issues/399)) ([ae88ed7](ae88ed73cf))
2022-06-27 16:57:41 +00:00
semantic-release-bot
1be6f0218d chore(release): version 1.72.2 [skip ci]
## [1.72.2](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.72.1...v1.72.2) (2022-06-21)

### Bug Fixes

* Pre-commit-terraform terraform_validate hook ([#401](https://github.com/antonbabenko/pre-commit-terraform/issues/401)) ([d9f482c](d9f482c0c6))
2022-06-21 21:00:23 +00:00
semantic-release-bot
a7b90d085c chore(release): version 1.72.1 [skip ci]
## [1.72.1](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.72.0...v1.72.1) (2022-05-25)

### Bug Fixes

* Fixed `terraform_fmt` with `tfenv`, when `terraform` default version is not specified ([#389](https://github.com/antonbabenko/pre-commit-terraform/issues/389)) ([1b9476a](1b9476a279))
2022-05-25 13:38:30 +00:00
semantic-release-bot
57dff32396 chore(release): version 1.72.0 [skip ci]
# [1.72.0](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.71.0...v1.72.0) (2022-05-25)

### Features

* When a config file is given, do not specify formatter on cli (terraform_docs) ([#386](https://github.com/antonbabenko/pre-commit-terraform/issues/386)) ([962054b](962054b923))
2022-05-25 12:32:00 +00:00
semantic-release-bot
74a2e54f23 chore(release): version 1.71.0 [skip ci]
# [1.71.0](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.70.1...v1.71.0) (2022-05-02)

### Features

* Added terraform_wrapper_module_for_each hook ([#376](https://github.com/antonbabenko/pre-commit-terraform/issues/376)) ([e4e9a73](e4e9a73d7e))
2022-05-02 17:59:45 +00:00
semantic-release-bot
aededd0eca chore(release): version 1.70.1 [skip ci]
## [1.70.1](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.70.0...v1.70.1) (2022-04-28)

### Bug Fixes

* Fixed `tfupdate` to work in all cases, not only `pre-commit run --all` ([#375](https://github.com/antonbabenko/pre-commit-terraform/issues/375)) ([297cc75](297cc75787))
2022-04-28 07:07:09 +00:00
semantic-release-bot
8668ade969 chore(release): version 1.70.0 [skip ci]
# [1.70.0](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.69.0...v1.70.0) (2022-04-28)

### Features

* Add support for `pre-commit/pre-commit-hooks` in Docker image ([#374](https://github.com/antonbabenko/pre-commit-terraform/issues/374)) ([017da74](017da745d0))
2022-04-28 07:05:29 +00:00
semantic-release-bot
b4d8fd9752 chore(release): version 1.69.0 [skip ci]
# [1.69.0](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.68.1...v1.69.0) (2022-04-26)

### Features

* Allow env vars expansion in `--args` section for all hooks ([#363](https://github.com/antonbabenko/pre-commit-terraform/issues/363)) ([caa01c3](caa01c30b3))
2022-04-26 10:34:28 +00:00
semantic-release-bot
95ca35646c chore(release): version 1.68.1 [skip ci]
## [1.68.1](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.68.0...v1.68.1) (2022-04-20)

### Bug Fixes

* Fixed git fatal error in Dockerfile ([#372](https://github.com/antonbabenko/pre-commit-terraform/issues/372)) ([c3f8dd4](c3f8dd40e6))
2022-04-20 12:11:35 +00:00
semantic-release-bot
cee7608f4b chore(release): version 1.68.0 [skip ci]
# [1.68.0](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.67.0...v1.68.0) (2022-04-18)

### Features

* Removed `coreutils` (realpath) from dependencies for MacOS ([#368](https://github.com/antonbabenko/pre-commit-terraform/issues/368)) ([944a2e5](944a2e5fef))
2022-04-18 16:17:47 +00:00
semantic-release-bot
c5462f6bf9 chore(release): version 1.67.0 [skip ci]
# [1.67.0](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.66.0...v1.67.0) (2022-04-15)

### Features

* Added `terraform_checkov` (run per folder), deprecated `checkov` hook ([#290](https://github.com/antonbabenko/pre-commit-terraform/issues/290)) ([e3a9834](e3a98345bb))
2022-04-15 17:27:01 +00:00
semantic-release-bot
b35dc171d8 chore(release): version 1.66.0 [skip ci]
# [1.66.0](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.65.1...v1.66.0) (2022-04-13)

### Features

* Added support for `tfupdate` to update version constraints in Terraform configurations ([#342](https://github.com/antonbabenko/pre-commit-terraform/issues/342)) ([ef7a0f2](ef7a0f2b46))
2022-04-13 17:25:38 +00:00
semantic-release-bot
ca6737c0ef chore(release): version 1.65.1 [skip ci]
## [1.65.1](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.65.0...v1.65.1) (2022-04-13)

### Bug Fixes

* Improve `tflint --init` command execution ([#361](https://github.com/antonbabenko/pre-commit-terraform/issues/361)) ([d31cb69](d31cb69363))
2022-04-13 16:11:15 +00:00
semantic-release-bot
896cbff5ed chore(release): version 1.65.0 [skip ci]
# [1.65.0](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.64.1...v1.65.0) (2022-04-13)

### Features

* Adding init to terraform_tflint hook ([#352](https://github.com/antonbabenko/pre-commit-terraform/issues/352)) ([1aff30f](1aff30f2a4))
2022-04-13 14:23:07 +00:00