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):
|
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"))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue