ec2_lc - cast volume_size for an EBS volume to an int (#32291)
This commit is contained in:
parent
75a6f9dbc2
commit
77061f5521
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ def create_block_device_meta(module, volume):
|
|||
return_object['Ebs']['SnapshotId'] = volume.get('snapshot')
|
||||
|
||||
if 'volume_size' in volume:
|
||||
return_object['Ebs']['VolumeSize'] = volume.get('volume_size')
|
||||
return_object['Ebs']['VolumeSize'] = int(volume.get('volume_size', 0))
|
||||
|
||||
if 'volume_type' in volume:
|
||||
return_object['Ebs']['VolumeType'] = volume.get('volume_type')
|
||||
|
|
Loading…
Add table
Reference in a new issue