This is an automated email from the ASF dual-hosted git repository. ioleksandr pushed a commit to branch DLAB-657 in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-657 by this push: new ff12848 increase size of storage device for aws(alrd in dev) ff12848 is described below commit ff128487489e74f5d531962038f53f97ea449e5d Author: Oleksandr_Isniuk <i.oleksa...@gmail.com> AuthorDate: Thu May 23 14:38:24 2019 +0300 increase size of storage device for aws(alrd in dev) --- infrastructure-provisioning/src/general/lib/aws/actions_lib.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/infrastructure-provisioning/src/general/lib/aws/actions_lib.py b/infrastructure-provisioning/src/general/lib/aws/actions_lib.py index 9fe4482..d8e00f3 100644 --- a/infrastructure-provisioning/src/general/lib/aws/actions_lib.py +++ b/infrastructure-provisioning/src/general/lib/aws/actions_lib.py @@ -436,6 +436,14 @@ def create_instance(definitions, instance_tag, primary_disk_size=12): elif definitions.instance_class == 'ssn': get_iam_profile(definitions.iam_profile) instances = ec2.create_instances(ImageId=definitions.ami_id, MinCount=1, MaxCount=1, + BlockDeviceMappings=[ + { + "DeviceName": "/dev/sda1", + "Ebs": + { + "VolumeSize": int(primary_disk_size) + } + }], KeyName=definitions.key_name, SecurityGroupIds=security_groups_ids, InstanceType=definitions.instance_type, --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org For additional commands, e-mail: commits-h...@dlab.apache.org