Change the default flag value to None to prevent AWS complaining: "Instance creation failed => InvalidBlockDeviceMapping: the encrypted flag cannot be specified since device /dev/sda1 has a snapshot specified."

reviewable/pr18780/r1
Juho-Mikko Pellinen 9 years ago
parent d85ad1087f
commit b4911a47d1

@ -701,7 +701,7 @@ def create_block_device(module, ec2, volume):
volume_type=volume.get('device_type'), volume_type=volume.get('device_type'),
delete_on_termination=volume.get('delete_on_termination', False), delete_on_termination=volume.get('delete_on_termination', False),
iops=volume.get('iops'), iops=volume.get('iops'),
encrypted=volume.get('encrypted', False)) encrypted=volume.get('encrypted', None))
def boto_supports_param_in_spot_request(ec2, param): def boto_supports_param_in_spot_request(ec2, param):
""" """

Loading…
Cancel
Save