diff --git a/checkov/common/util/ext_argument_parser.py b/checkov/common/util/ext_argument_parser.py index f36d4641e75..6007f088995 100644 --- a/checkov/common/util/ext_argument_parser.py +++ b/checkov/common/util/ext_argument_parser.py @@ -391,6 +391,7 @@ def add_parser_args(self) -> None: "https://www.terraform.io/docs/language/values/variables.html#variable-definitions-tfvars-files)." "Currently only supported for source Terraform (.tf file), and Helm chart scans." "Requires using --directory, not --file.", + env_var="CKV_VAR_FILE", ) self.add( "--external-modules-download-path",