Fix: convert owner_ids to a list of strings (#3488)

pull/18777/head
Constantin 8 years ago committed by Matt Clay
parent 163f16658e
commit 4bdbbed49c

@ -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…
Cancel
Save