This is an automated email from the ASF dual-hosted git repository.
omartushevskyi pushed a commit to branch DLAB-1467
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-1467 by this push:
new 15a5288 [DLAB-1467]: Added terraform scripts for deploying DLab
endpoint
15a5288 is described below
commit 15a5288f2482566778409531a5791efd626f14f2
Author: Oleh Martushevskyi <[email protected]>
AuthorDate: Tue Feb 4 16:03:00 2020 +0200
[DLAB-1467]: Added terraform scripts for deploying DLab endpoint
---
infrastructure-provisioning/terraform/bin/dlab.py | 24 +++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/infrastructure-provisioning/terraform/bin/dlab.py
b/infrastructure-provisioning/terraform/bin/dlab.py
index 2d37683..e1aebd7 100644
--- a/infrastructure-provisioning/terraform/bin/dlab.py
+++ b/infrastructure-provisioning/terraform/bin/dlab.py
@@ -1150,17 +1150,23 @@ class GCPEndpointBuilder(AbstractDeployBuilder):
.add_str('--ssn_subnet', 'ID of AWS Subnet if you already have subnet
created.', group='endpoint')
.add_str('--subnet_id', 'ID of subnet', group='endpoint')
.add_str('--ami', 'ID of EC2 AMI.', group='endpoint')
- .add_str('--key_path', 'Path to public key', required=True,
group='endpoint')
+ .add_str('--path_to_pub_key', 'Path to public key', required=True,
group='endpoint')
.add_str('--endpoint_id', 'Endpoint id.', required=True,
group='endpoint')
.add_str('--region', 'Name of region.', group='endpoint')
- .add_str('--endpoint_shape', 'Instance shape of Endpoint.',
default='Standard_DS2_v2', group='endpoint')
- .add_str('--endpoint_volume_size', 'Endpoint disk size',
default='30', group='endpoint')
+ .add_str('--zone', 'Name of zone.', group='endpoint')
+ .add_str('--endpoint_shape', 'Instance shape of Endpoint.',
group='endpoint')
+ .add_str('--endpoint_volume_size', 'Endpoint disk size',
group='endpoint')
.add_str('--additional_tag', 'Additional tag.',
default='product:dlab', group='endpoint')
.add_str('--ldap_host', 'ldap host', required=True, group='endpoint')
.add_str('--ldap_dn', 'ldap dn', required=True, group='endpoint')
.add_str('--ldap_user', 'ldap user', required=True, group='endpoint')
.add_str('--ldap_bind_creds', 'ldap bind creds', required=True,
group='endpoint')
.add_str('--ldap_users_group', 'ldap users group', required=True,
group='endpoint')
+ .add_str('--firewall_ing_cidr_range', 'Ingress range',
group='endpoint')
+ .add_str('--firewall_eg_cidr_range', 'Egress range', group='endpoint')
+ .add_str('--endpoint_policies', 'Endpoint policies list',
group='endpoint')
+ .add_str('--endpoint_roles', 'Endpoint roles list', group='endpoint')
+ .add_str('--bucket_region', 'Bucket region', group='endpoint')
)
return params.build()
@@ -1219,23 +1225,17 @@ class AzureEndpointBuilder(AbstractDeployBuilder):
.add_str('--ssn_subnet', 'ID of AWS Subnet if you already have subnet
created.', group='endpoint')
.add_str('--subnet_id', 'ID of subnet', group='endpoint')
.add_str('--ami', 'ID of EC2 AMI.', group='endpoint')
- .add_str('--path_to_pub_key', 'Path to public key', required=True,
group='endpoint')
+ .add_str('--key_path', 'Path to public key', required=True,
group='endpoint')
.add_str('--endpoint_id', 'Endpoint id.', required=True,
group='endpoint')
.add_str('--region', 'Name of region.', group='endpoint')
- .add_str('--zone', 'Name of zone.', group='endpoint')
- .add_str('--endpoint_shape', 'Instance shape of Endpoint.',
group='endpoint')
- .add_str('--endpoint_volume_size', 'Endpoint disk size',
group='endpoint')
+ .add_str('--endpoint_shape', 'Instance shape of Endpoint.',
default='Standard_DS2_v2', group='endpoint')
+ .add_str('--endpoint_volume_size', 'Endpoint disk size',
default='30', group='endpoint')
.add_str('--additional_tag', 'Additional tag.',
default='product:dlab', group='endpoint')
.add_str('--ldap_host', 'ldap host', required=True, group='endpoint')
.add_str('--ldap_dn', 'ldap dn', required=True, group='endpoint')
.add_str('--ldap_user', 'ldap user', required=True, group='endpoint')
.add_str('--ldap_bind_creds', 'ldap bind creds', required=True,
group='endpoint')
.add_str('--ldap_users_group', 'ldap users group', required=True,
group='endpoint')
- .add_str('--firewall_ing_cidr_range', 'Ingress range',
group='endpoint')
- .add_str('--firewall_eg_cidr_range', 'Egress range', group='endpoint')
- .add_str('--endpoint_policies', 'Endpoint policies list',
group='endpoint')
- .add_str('--endpoint_roles', 'Endpoint roles list', group='endpoint')
- .add_str('--bucket_region', 'Bucket region', group='endpoint')
)
return params.build()
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]