diff --git a/python_terraform/terraform.py b/python_terraform/terraform.py index 7d62720..b136394 100644 --- a/python_terraform/terraform.py +++ b/python_terraform/terraform.py @@ -52,7 +52,7 @@ class Terraform: var_file: Optional[str] = None, terraform_bin_path: Optional[str] = None, is_env_vars_included: bool = True, - terraform_version: Optional[float] = 1.0 + terraform_version: Optional[float] = 0.13 ): """ :param working_dir: the folder of the working folder, if not given, diff --git a/test/test_terraform.py b/test/test_terraform.py index f4ae480..c2052a9 100644 --- a/test/test_terraform.py +++ b/test/test_terraform.py @@ -17,7 +17,7 @@ root_logger = logging.getLogger() current_path = os.path.dirname(os.path.realpath(__file__)) -version = 0.13 if (os.environ.get("TFVER") and os.environ.get("TFVER").startswith("0")) else 1.0 +version = 1.0 if (os.environ.get("TFVER") and os.environ.get("TFVER").startswith("1")) else 0.13 FILE_PATH_WITH_SPACE_AND_SPACIAL_CHARS = "test 'test.out!" STRING_CASES = [