mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix: convert owner_ids to a list of strings (#3488)
This commit is contained in:
parent
163f16658e
commit
4bdbbed49c
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ from ansible.module_utils.ec2 import (ansible_dict_to_boto3_filter_list,
|
|||
def list_ec2_snapshots(connection, module):
|
||||
|
||||
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")
|
||||
filters = ansible_dict_to_boto3_filter_list(module.params.get("filters"))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue