diff --git a/qlty-plugins/plugins/linters/terraform/plugin.toml b/qlty-plugins/plugins/linters/terraform/plugin.toml index 405ec9f82..2ed881ea9 100644 --- a/qlty-plugins/plugins/linters/terraform/plugin.toml +++ b/qlty-plugins/plugins/linters/terraform/plugin.toml @@ -38,7 +38,7 @@ description = "Validator and formatter for terraform" script = "terraform validate -json" success_codes = [0, 1] output = "stdout" -target = { type = "parent" } +target = { type = "parent_with", path = ".terraform.lock.hcl" } runs_from = { type = "target_directory" } output_format = "terraform" cache_results = true