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:
parent
d85ad1087f
commit
b4911a47d1
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Add table
Reference in a new issue