checkov icon indicating copy to clipboard operation
checkov copied to clipboard

Use `#checkov:skip` in terraform tfvars file

Open ppawlowski opened this issue 2 years ago • 0 comments

Describe the issue I have an IaC-defined infrastructure with one root module and multiple tfvars files, making my environments unique. Since my dev environment does not need to be as strictly configured as the production one, I would like to skip several checks there but still check them on production. Adding #checkov:skip in tfvars is not working for me.

Examples I would like to add #checkov:skip in *.tfvars file to skip particular check in selected environment.

Version (please complete the following information):

  • 2.2.291

Additional context Add any other context about the problem here.

ppawlowski avatar Jan 23 '23 12:01 ppawlowski