Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add an option to download/install terraform #96

Open
dan-blanchard opened this issue May 1, 2023 · 0 comments
Open

Please add an option to download/install terraform #96

dan-blanchard opened this issue May 1, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@dan-blanchard
Copy link

Describe the solution you'd like
I would like to be able to use terraform-fmt on pre-commit.ci, the hosted CI pre-commit service, but unfortunately I cannot because terraform doesn't come pre-installed, and the hooks here do not install/bundle it.

Terraform fmt............................................................Failed
- hook id: terraform-fmt
- exit code: 127

/pc/clone/RKgVfIZxQCiSAX665qKF9Q/hooks/terraform-fmt.sh: line 15: terraform: command not found

It'd be nice if there was a way to say that you need terraform installed as part of the hook.

Describe alternatives you've considered
Not running terraform hooks on pre-commit.ci.

@dan-blanchard dan-blanchard added the enhancement New feature or request label May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant