Skip to content

Add terraform test hook #870

@dirsigler

Description

@dirsigler

What problem are you facing?

I started adding some Terraform tests for my modules and already use the pre-commit hooks here to do basic validation, docs and trivy commands.

To me it would be helpful if terraform test could also be added as a hook, to fully test my modules status.

How could pre-commit-terraform help solve your problem?

Add a new hook for terraform test. Before my changes are commited, this makes sure my tests are run and the unit is fully tested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions