mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-05 16:04:09 -07:00
Bulk spelling improvement to modules-core (#5225)
* Correct spelling mistakes * Correct more spelling issues * merge conflict * Revert typo in parms
This commit is contained in:
parent
a4077537e0
commit
25b6492d37
91 changed files with 908 additions and 148 deletions
|
@ -769,7 +769,7 @@ def create_block_device(module, ec2, volume):
|
|||
if int(volume['iops']) > MAX_IOPS_TO_SIZE_RATIO * size:
|
||||
module.fail_json(msg = 'IOPS must be at most %d times greater than size' % MAX_IOPS_TO_SIZE_RATIO)
|
||||
if 'encrypted' in volume:
|
||||
module.fail_json(msg = 'You can not set encyrption when creating a volume from a snapshot')
|
||||
module.fail_json(msg = 'You can not set encryption when creating a volume from a snapshot')
|
||||
if 'ephemeral' in volume:
|
||||
if 'snapshot' in volume:
|
||||
module.fail_json(msg = 'Cannot set both ephemeral and snapshot')
|
||||
|
@ -1023,7 +1023,7 @@ def create_instances(module, ec2, vpc, override_count=None):
|
|||
if ebs_optimized:
|
||||
params['ebs_optimized'] = ebs_optimized
|
||||
|
||||
# 'tenancy' always has a default value, but it is not a valid parameter for spot instance resquest
|
||||
# 'tenancy' always has a default value, but it is not a valid parameter for spot instance request
|
||||
if not spot_price:
|
||||
params['tenancy'] = tenancy
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue