diff --git a/lib/ansible/modules/cloud/amazon/ec2_lc.py b/lib/ansible/modules/cloud/amazon/ec2_lc.py index 857d94fd830..d379a838c26 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_lc.py +++ b/lib/ansible/modules/cloud/amazon/ec2_lc.py @@ -44,7 +44,7 @@ options: state: description: - Register or deregister the instance - required: true + default: present choices: ['present', 'absent'] name: description: @@ -389,8 +389,6 @@ except ImportError: def create_block_device_meta(module, volume): - MAX_IOPS_TO_SIZE_RATIO = 30 - # device_type has been used historically to represent volume_type, # however ec2_vol uses volume_type, as does the BlockDeviceType, so # we add handling for either/or but not both