diff --git a/build.py b/build.py index d3b9df9..2b5bd85 100644 --- a/build.py +++ b/build.py @@ -27,7 +27,7 @@ use_plugin("filter_resources") name = "kubernator" -version = "1.0.2" +version = "1.0.3" summary = "Kubernator is the a pluggable framework for K8S provisioning" authors = [Author("Express Systems USA, Inc.", "")] diff --git a/src/main/python/kubernator/plugins/terraform.py b/src/main/python/kubernator/plugins/terraform.py index 75b460d..34956a0 100644 --- a/src/main/python/kubernator/plugins/terraform.py +++ b/src/main/python/kubernator/plugins/terraform.py @@ -23,7 +23,7 @@ import tempfile import zipfile from pathlib import Path -from shutil import which, copy +from shutil import which from kubernator.api import (KubernatorPlugin, Globs, StripNL, scan_dir, @@ -70,8 +70,6 @@ def register(self, version=None): tf_zip = zipfile.ZipFile(tf_file_dl) tf_zip.extractall(self.tf_dir.name) - copy(Path(self.tf_dir.name) / "terraform", tf_file) - os.chmod(tf_file, 0o500) prepend_os_path(str(self.tf_dir)) else: