mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fix for unrequired parameter
This commit is contained in:
parent
ae044f507f
commit
92426840d6
1 changed files with 1 additions and 2 deletions
|
@ -256,8 +256,7 @@ def create_launch_config(connection, module):
|
|||
|
||||
block_device_mapping = {}
|
||||
|
||||
convert_list = ['image_id', 'instance_type', 'instance_type', 'instance_id', 'placement_tenancy', 'key_name', 'kernel_id', 'ramdisk_id',
|
||||
'instance_profile_name', 'spot_price']
|
||||
convert_list = ['image_id', 'instance_type', 'instance_type', 'instance_id', 'placement_tenancy', 'key_name', 'kernel_id', 'ramdisk_id', 'spot_price']
|
||||
|
||||
launch_config = (snake_dict_to_camel_dict(dict((k.capitalize(), str(v)) for k, v in module.params.items() if v is not None and k in convert_list)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue