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

pre-commit hook? #311

Closed
sosimon opened this issue Sep 4, 2020 · 4 comments
Closed

pre-commit hook? #311

sosimon opened this issue Sep 4, 2020 · 4 comments

Comments

@sosimon
Copy link

sosimon commented Sep 4, 2020

Is there still a way to run terrascan with pre-commit? I noticed there was mention of an example .pre-commit-config.yaml in older docs but it's no longer mentioned anywhere now.

@cesar-rodriguez
Copy link
Contributor

Hi @sosimon,

This is something that needs to be worked on The way the original .pre-commit-config.yaml file was written didn't work with v1.0.0 of Terrascan, so we had to remove it for now.

@cesar-rodriguez
Copy link
Contributor

Submitted antonbabenko/pre-commit-terraform#195 to address this for Terraform and planning on doing something similar in this repo to support all other IaC providers.

@amirbenv
Copy link
Contributor

amirbenv commented May 7, 2021

Thanks Cesar! can this be closed?

@cesar-rodriguez
Copy link
Contributor

Closed via #953

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants