This is an automated email from the ASF dual-hosted git repository.
mykolabodnar pushed a commit to branch DATALAB-2409
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
The following commit(s) were added to refs/heads/DATALAB-2409 by this push:
new 4bd67bd [DATALAB-2409] - DataLab deployment script refactored
4bd67bd is described below
commit 4bd67bd036bee6c24ba391a9369ba937992637b5
Author: bodnarmykola <[email protected]>
AuthorDate: Wed Jul 21 15:23:20 2021 +0300
[DATALAB-2409] - DataLab deployment script refactored
---
infrastructure-provisioning/scripts/deploy_datalab.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/infrastructure-provisioning/scripts/deploy_datalab.py
b/infrastructure-provisioning/scripts/deploy_datalab.py
index 6bac896..6ec51a0 100644
--- a/infrastructure-provisioning/scripts/deploy_datalab.py
+++ b/infrastructure-provisioning/scripts/deploy_datalab.py
@@ -177,6 +177,8 @@ def build_parser():
deployment script is executed on local machine and
uses
IAM user permissions to create resources in
AWS.''')
aws_parser.add_argument('--aws_secret_access_key', type=str, help='AWS
Secret Access Key')
+ aws_parser.add_argument('--aws_ssn_instance_size', type=str,
default='t2.large',
+ help='The SSN instance shape')
aws_parser.add_argument('--ssn_assume_role_arn', type=str,
help='Role ARN for creating Route53 record in
different AWS account')
aws_parser.add_argument('--aws_vpc_id', type=str, help='AWS VPC ID')
@@ -197,8 +199,6 @@ def build_parser():
aws_required_args = aws_parser.add_argument_group('Required arguments')
aws_required_args.add_argument('--aws_region', type=str, required=True,
help='AWS region')
aws_required_args.add_argument('--aws_zone', type=str, required=True,
help='AWS zone')
- aws_required_args.add_argument('--aws_ssn_instance_size', type=str,
required=True, default='t2.large',
- help='The SSN instance shape')
aws_required_args.add_argument('--aws_account_id', type=str,
required=True, help='The ID of Amazon account')
# --------azure subcommand -------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]