mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 14:20:22 -07:00
Change GB to GiB in some AWS modules (#49304)
This commit is contained in:
parent
23637aa349
commit
5499ee30d4
3 changed files with 4 additions and 4 deletions
|
@ -487,7 +487,7 @@ def create_launch_config(connection, module):
|
|||
for volume in volumes:
|
||||
if 'device_name' not in volume:
|
||||
module.fail_json(msg='Device name must be set for volume')
|
||||
# Minimum volume size is 1GB. We'll use volume size explicitly set to 0 to be a signal not to create this volume
|
||||
# Minimum volume size is 1GiB. We'll use volume size explicitly set to 0 to be a signal not to create this volume
|
||||
if 'volume_size' not in volume or int(volume['volume_size']) > 0:
|
||||
block_device_mapping.append(create_block_device_meta(module, volume))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue