This commit is contained in:
jem 2020-03-05 13:24:23 +01:00
parent 85874b42c9
commit 5878f0686b
3 changed files with 4 additions and 3 deletions

View file

@ -6,8 +6,8 @@
``` ```
sudo apt install python3-pip sudo apt install python3-pip
#sudo pip3 install pip3 --upgrade #sudo pip3 install pip3 --upgrade
pip3 install pybuilder python-terraform ddadevops --user pip3 install pybuilder ddadevops --user
pip3 install boto3 --user pip3 install boto3 python-terraform --user
export PATH=$PATH:~/.local/bin export PATH=$PATH:~/.local/bin
``` ```

View file

@ -27,7 +27,7 @@ use_plugin("python.distutils")
default_task = "publish" default_task = "publish"
name = "ddadevops" name = "ddadevops"
version = "0.4.0.dev20" version = "0.4.0"
summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud" summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud"
description = __doc__ description = __doc__
authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")] authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")]

View file

@ -22,6 +22,7 @@ class AwsMixin(DevopsTerraformBuild):
def __init__(self, project, config): def __init__(self, project, config):
super().__init__(project, config) super().__init__(project, config)
project.build_depends_on('boto3') project.build_depends_on('boto3')
project.build_depends_on('mfa')
aws_mixin_config = config['AwsMixin'] aws_mixin_config = config['AwsMixin']
self.account_name = aws_mixin_config['account_name'] self.account_name = aws_mixin_config['account_name']
self.account_id = aws_mixin_config['account_id'] self.account_id = aws_mixin_config['account_id']