pre-commit-terraform
pre-commit-terraform copied to clipboard
pre-commit git hooks to take care of Terraform configurations πΊπ¦
### What problem are you facing? In my configuration, I have a number of different modules in the same repo but each module has differing dependencies (either local or published)....
Put an `x` into the box if that apply: - [ ] This PR introduces breaking change. - [ ] This PR fixes a bug. - [X] This PR adds...
Put an `x` into the box if that apply: - [ ] This PR introduces breaking change. - [ ] This PR fixes a bug. - [X] This PR adds...
### What problem are you facing? I want to run [`terraform test`](https://developer.hashicorp.com/terraform/language/modules/testing-experiment) in a pre-commit hook if either the module or one of the module's tests changed. `terraform test` has...
### Describe the bug When running terraform_checkov without any fail flags any matching rule will result in a failed result. However when the `--soft-fail` and `--hard-fail-on MEDIUM` flags are enabled,...
### Describe the bug Seeing duplicate or unclear output in regards to `Success! The configuration is valid.` ```none Command 'terraform init' successfully done: regional/infra Success! The configuration is valid. Success!...
Put an `x` into the box if that apply: - [ ] This PR introduces breaking change. - [ ] This PR fixes a bug. - [ ] This PR...
### What problem are you facing? A while ago ~before orcs groundlessly and treacherously come against Ukraine~ while I was poking around some TF issue I stumbled upon [this thread](https://github.com/hashicorp/terraform/issues/12959)...
### Describe the bug Need to have terrascan use a config file. Tried to use - id: terrascan args: - --args="-c .terrascan.toml" Got error 2023-02-08T19:52:39.243-0800 error config/config-reader.go:62 config file: .terrascan.toml,...
Put an `x` into the box if that apply: - [ ] This PR introduces breaking change. - [ ] This PR fixes a bug. - [x] This PR adds...