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."

This commit is contained in:
Juho-Mikko Pellinen 2015-07-07 16:31:47 +03:00
parent d85ad1087f
commit b4911a47d1

View file

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