From 99f4e2f94efda1777dbafed4332e47408064cab4 Mon Sep 17 00:00:00 2001 From: bom Date: Fri, 28 Jan 2022 10:01:23 +0100 Subject: [PATCH] use dda_python_terraform instead of outdated ver --- infrastructure/devops-build/image/Dockerfile | 2 +- src/main/python/ddadevops/aws_backend_properties_mixin.py | 2 +- src/main/python/ddadevops/aws_mfa_mixin.py | 2 +- src/main/python/ddadevops/devops_docker_build.py | 2 +- src/main/python/ddadevops/devops_terraform_build.py | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/infrastructure/devops-build/image/Dockerfile b/infrastructure/devops-build/image/Dockerfile index 0b20733..b9eedf4 100644 --- a/infrastructure/devops-build/image/Dockerfile +++ b/infrastructure/devops-build/image/Dockerfile @@ -3,4 +3,4 @@ FROM docker:latest RUN set -eux; RUN apk add --no-cache build-base rust python3 python3-dev py3-pip py3-setuptools py3-wheel libffi-dev openssl-dev cargo; RUN python3 -m pip install -U pip; -RUN pip3 install pybuilder ddadevops deprecation python-terraform boto3 mfa; \ No newline at end of file +RUN pip3 install pybuilder ddadevops deprecation dda-python-terraform boto3 mfa; \ No newline at end of file diff --git a/src/main/python/ddadevops/aws_backend_properties_mixin.py b/src/main/python/ddadevops/aws_backend_properties_mixin.py index 29b3856..7a49bf3 100644 --- a/src/main/python/ddadevops/aws_backend_properties_mixin.py +++ b/src/main/python/ddadevops/aws_backend_properties_mixin.py @@ -1,4 +1,4 @@ -from python_terraform import * +from dda_python_terraform import * from .devops_terraform_build import DevopsTerraformBuild, Terraform diff --git a/src/main/python/ddadevops/aws_mfa_mixin.py b/src/main/python/ddadevops/aws_mfa_mixin.py index e100aaa..26ece3c 100644 --- a/src/main/python/ddadevops/aws_mfa_mixin.py +++ b/src/main/python/ddadevops/aws_mfa_mixin.py @@ -1,4 +1,4 @@ -from python_terraform import * +from dda_python_terraform import * from boto3 import * from .python_util import execute from .aws_backend_properties_mixin import AwsBackendPropertiesMixin diff --git a/src/main/python/ddadevops/devops_docker_build.py b/src/main/python/ddadevops/devops_docker_build.py index bec3977..4b2a431 100644 --- a/src/main/python/ddadevops/devops_docker_build.py +++ b/src/main/python/ddadevops/devops_docker_build.py @@ -30,7 +30,7 @@ class DevopsDockerBuild(DevopsBuild): def __init__(self, project, config): super().__init__(project, config) - project.build_depends_on('python-terraform') + project.build_depends_on('dda-python-terraform') self.dockerhub_user = config['dockerhub_user'] self.dockerhub_password = config['dockerhub_password'] self.use_package_common_files = config['use_package_common_files'] diff --git a/src/main/python/ddadevops/devops_terraform_build.py b/src/main/python/ddadevops/devops_terraform_build.py index 4da1b38..4cea3f1 100644 --- a/src/main/python/ddadevops/devops_terraform_build.py +++ b/src/main/python/ddadevops/devops_terraform_build.py @@ -2,7 +2,7 @@ from os import path from json import load, dumps from subprocess import run from pkg_resources import * -from python_terraform import * +from dda_python_terraform import * from .python_util import filter_none from .devops_build import DevopsBuild, create_devops_build_config import sys @@ -38,7 +38,7 @@ class DevopsTerraformBuild(DevopsBuild): def __init__(self, project, config): super().__init__(project, config) - project.build_depends_on('python-terraform') + project.build_depends_on('dda-python-terraform') self.additional_vars = config['additional_vars'] self.output_json_name = config['output_json_name'] self.use_workspace = config['use_workspace']