You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like it's using string.Match to do the matching, which uses shell syntax for the matching
This should move to using a regex or something to allow for usable exclude filters
I'm trying to run config-lint on my terraform configuration files and I came across a possible problem.
If i run
terraform init
before running config-lint, a ocult directory.terraform
will be created.So when i run config-lint against my terrafom files, the config-lint will be scan all the
*.tf
files inside.terraform
directory.I'm trying to use the
exclude
andexclude-from
command line parameters, but it doesn't seem to work recursively inside a directory:Command line example.:
config-lint -exclude .terraform/\* -debug -rules testerules.yml .
It's possible ignore this
.terraform/*
directory from files to scan?The text was updated successfully, but these errors were encountered: