From fd959877a752489922f883c5ec1796712f50b62d Mon Sep 17 00:00:00 2001 From: bom Date: Wed, 12 Jan 2022 14:32:47 +0100 Subject: [PATCH] fixed last apply test --- test/test_terraform.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_terraform.py b/test/test_terraform.py index 12a0baf..1f36b5e 100644 --- a/test/test_terraform.py +++ b/test/test_terraform.py @@ -307,7 +307,7 @@ class TestTerraform: ( "var_to_output", {"test_map_var": {"c": "c", "d": "d"}}, - "var_to_output/test_map_var.json", + "test_map_var.json", # Values are overriden 'test_map_output=tomap({"e"="e""f"="f"})', {}, @@ -322,6 +322,7 @@ class TestTerraform: ], ) def test_apply(self, folder, variables, var_files, expected_output, options): + var_files_version = folder + var_files if version < 1.0 else var_files tf = Terraform( working_dir=current_path, variables=variables, var_file=var_files, terraform_version=version )