in aws/hhvm1/lambdas/activities.py [0:0]
def ec2_params(self):
params = super().ec2_params()
params.update({
# This is required as we have a persistent EBS volume containing the
# repositories, and the instance must be in the same availability zone
# as an EBS volume to attach it.
'Placement': {'AvailabilityZone': 'us-west-2a'},
'BlockDeviceMappings': [{
'DeviceName': '/dev/sda1',
'Ebs': {
'DeleteOnTermination': True,
'VolumeSize': 100, # GB
'VolumeType': 'gp2',
},
}],
})
return params