adjust doc to new version

release-1.0
jerger 2 years ago
parent fbc726ddaf
commit 52babb01e9

@ -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,

@ -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()

Loading…
Cancel
Save