ec2_ami_facts should take nonstrings as filter arguments #43570
Labels
affects_2.6
This issue/PR affects Ansible v2.6
aws
bug
This issue/PR relates to a bug.
cloud
module
This issue/PR relates to a module.
support:community
This issue/PR relates to code supported by the Ansible community.
traceback
This issue/PR includes a traceback.
SUMMARY
Booleans or numbers passed to most AWS APIs need to be cast to strings or they die. (this might be better fixed in
ansible_dict_to_boto3_filter_list
than in_facts
)ISSUE TYPE
COMPONENT NAME
ec2_ami_facts
ANSIBLE VERSION
CONFIGURATION
not relevant
OS / ENVIRONMENT
not relevant
STEPS TO REPRODUCE
The second and fourth lines are 'bad'- one is a number, one is a bool, both fail.
EXPECTED RESULTS
results to be returned.
I expected it to work.
ACTUAL RESULTS
It died.
(after fixing the bool)
The text was updated successfully, but these errors were encountered: