mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
ec2_lc: fix state doc matching arg_spec (#40792)
* ec2_lc: fix state doc matching arg_spec * Remove unused variable
This commit is contained in:
parent
b9ea646839
commit
4006f1ba40
1 changed files with 1 additions and 3 deletions
|
@ -44,7 +44,7 @@ options:
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- Register or deregister the instance
|
- Register or deregister the instance
|
||||||
required: true
|
default: present
|
||||||
choices: ['present', 'absent']
|
choices: ['present', 'absent']
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
@ -389,8 +389,6 @@ except ImportError:
|
||||||
|
|
||||||
|
|
||||||
def create_block_device_meta(module, volume):
|
def create_block_device_meta(module, volume):
|
||||||
MAX_IOPS_TO_SIZE_RATIO = 30
|
|
||||||
|
|
||||||
# device_type has been used historically to represent volume_type,
|
# device_type has been used historically to represent volume_type,
|
||||||
# however ec2_vol uses volume_type, as does the BlockDeviceType, so
|
# however ec2_vol uses volume_type, as does the BlockDeviceType, so
|
||||||
# we add handling for either/or but not both
|
# we add handling for either/or but not both
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue