diff options
author | Constantin <Constantin07@users.noreply.github.com> | 2016-12-05 16:50:48 +0000 |
---|---|---|
committer | Ryan Brown <sb@ryansb.com> | 2016-12-05 11:50:48 -0500 |
commit | ba3f8058e2c1e43621bf31dfd047043025956e15 (patch) | |
tree | 40c4d62dd20ddc4ef911c9c1af737bbbb73695d3 | |
parent | 405e6501b9e567ee1cbcac075672b3f284b49804 (diff) | |
download | ansible-modules-extras-ba3f8058e2c1e43621bf31dfd047043025956e15.tar.gz |
Fix: convert owner_ids to a list of strings (#3488)
-rw-r--r-- | cloud/amazon/ec2_snapshot_facts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloud/amazon/ec2_snapshot_facts.py b/cloud/amazon/ec2_snapshot_facts.py index 357a1692..2ce06194 100644 --- a/cloud/amazon/ec2_snapshot_facts.py +++ b/cloud/amazon/ec2_snapshot_facts.py @@ -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")) |