Skip to content

switch for local / Docker commands #13

Description

@wesley-dean-flexion

@sudokar just a thought... most of the pre-commit hooks (e.g., terraform_fmt, terraform_docs) in the generated .pre-commit-config.yaml file use Anton Babenko's tooling for running the aforementioned scripts with locally-installed tools, which is normal and what most sane people would do. I'm wondering, though, if it would be useful to others to use Dockerized versions of those tools. So, for example, instead of running the terraform_docs.sh script, use the official terraform_docs container (quay.io/terraform-docs/terraform-docs:latest). If that makes sense, perhaps it would be good to add a switch to the module generator which would set a local/dockerized tools parameter.

Why? Because I tend to run terraform and such in Docker because downloading it and installing it every few days as Hashicorp releases patches is tiresome to me.

I'm happy to draft the shell script wrappers if you find this interesting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions