mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Fix: convert owner_ids to a list of strings (#3488)
This commit is contained in:
@@ -172,7 +172,7 @@ from ansible.module_utils.ec2 import (ansible_dict_to_boto3_filter_list,
|
|||||||
def list_ec2_snapshots(connection, module):
|
def list_ec2_snapshots(connection, module):
|
||||||
|
|
||||||
snapshot_ids = module.params.get("snapshot_ids")
|
snapshot_ids = module.params.get("snapshot_ids")
|
||||||
owner_ids = module.params.get("owner_ids")
|
owner_ids = map(str, module.params.get("owner_ids"))
|
||||||
restorable_by_user_ids = module.params.get("restorable_by_user_ids")
|
restorable_by_user_ids = module.params.get("restorable_by_user_ids")
|
||||||
filters = ansible_dict_to_boto3_filter_list(module.params.get("filters"))
|
filters = ansible_dict_to_boto3_filter_list(module.params.get("filters"))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user