Skip to content

Support args for terraform-fmt, remove hardcoded args. #138

@mijdavis2

Description

@mijdavis2

Describe the solution you'd like
I want to be able to pass my own args into terraform fmt. Right now, it will only check and error out instead of allowing us to autofix on pre-commit.

Describe alternatives you've considered
The alternative is what it is now, which doesn't support autofixing

Additional context
I stopped using this pre-commit in favor of terraform-fmt pre-commits that allow for --write=true arg injection.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions