adjust doc to new version

This commit is contained in:
jerger 2022-08-19 14:37:37 +02:00
parent fbc726ddaf
commit 52babb01e9
2 changed files with 5 additions and 5 deletions

View file

@ -120,7 +120,7 @@ class MyBuild(AwsBackendPropertiesMixin, DevopsTerraformBuild):
@init @init
def initialize(project): def initialize(project):
project.build_depends_on('ddadevops>=0.5.0') project.build_depends_on('ddadevops>=1.0')
account_name = 'my-aws-account-name' account_name = 'my-aws-account-name'
account_id = 'my-aws-account-id' account_id = 'my-aws-account-id'
stage = 'my stage i.e. dev|test|prod' stage = 'my stage i.e. dev|test|prod'
@ -144,7 +144,7 @@ class MyBuild(class MyBuild(AwsMfaMixin, DevopsTerraformBuild):
@init @init
def initialize(project): def initialize(project):
project.build_depends_on('ddadevops>=0.5.0') project.build_depends_on('ddadevops>=1.0')
account_name = 'my-aws-account-name' account_name = 'my-aws-account-name'
account_id = 'my-aws-account-id' account_id = 'my-aws-account-id'
stage = 'my stage i.e. dev|test|prod' stage = 'my stage i.e. dev|test|prod'
@ -188,7 +188,7 @@ class MyBuild(..., AwsRdsPgMixin):
@init @init
def initialize(project): def initialize(project):
project.build_depends_on('ddadevops>=0.8.0') project.build_depends_on('ddadevops>=1.0')
... ...
config = add_aws_rds_pg_mixin_config(config, config = add_aws_rds_pg_mixin_config(config,

View file

@ -12,7 +12,7 @@ class MyBuild(AwsBackendPropertiesMixin, DevopsTerraformBuild):
@init @init
def initialize(project): def initialize(project):
project.build_depends_on('ddadevops>=0.13.2') project.build_depends_on('ddadevops>=1.0')
stage = environ['STAGE'] stage = environ['STAGE']
print('Doing stage: ', stage) print('Doing stage: ', stage)
config = create_devops_terraform_build_config(stage, config = create_devops_terraform_build_config(stage,
@ -20,7 +20,7 @@ def initialize(project):
MODULE, MODULE,
{}, {},
use_workspace=False, use_workspace=False,
terraform_version=1.0) terraform_semantic_version="1.0.8")
config = add_aws_backend_properties_mixin_config(config, 'prod') config = add_aws_backend_properties_mixin_config(config, 'prod')
build = MyBuild(project, config) build = MyBuild(project, config)
build.initialize_build_dir() build.initialize_build_dir()