Skip to content

Commit 8482e00

Browse files
committed
use -no-color arg for validate command
1 parent e35ba2c commit 8482e00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/module_utils/terraform_commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def show(self, state_or_plan_file_path: str) -> Optional[TerraformShow]:
215215
return TerraformShow.from_json(result)
216216

217217
def validate(self, version: LooseVersion, variables_args: List[str]) -> None:
218-
command = ["validate"]
218+
command = ["validate", "-no-color"]
219219
if version < LooseVersion("0.15.0"):
220220
command += variables_args
221221
self._run(*command, check_rc=True)

0 commit comments

Comments
 (0)