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
530f12035b
commit
29620b78fa
1 changed files with 1 additions and 1 deletions
|
@ -698,7 +698,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…
Reference in a new issue