AWS Dynamic inventory returns empty for af-south-1 region #70164
Labels
affects_2.9
This issue/PR affects Ansible v2.9
aws
bug
This issue/PR relates to a bug.
cloud
collection:amazon.aws
collection
Related to Ansible Collections work
module
This issue/PR relates to a module.
needs_collection_redirect
https://github.com/ansible/ansibullbot/blob/master/docs/collection_migration.md
python3
support:community
This issue/PR relates to code supported by the Ansible community.
SUMMARY
When I try to get a list of ec2 instances with ec2.py --list, when I have a ec2 instance active on AWS, within the af-south-1 region. I get the following output:
{
"_meta": {
"hostvars": {}
}
}
When I stop that instance and create an instance in the ohio (us-east-2) region. I do get
the expected output of ec2 instances.
I've set ec2.ini to region=all
ISSUE TYPE
COMPONENT NAME
Amazon EC2
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Mac OS Catalina
STEPS TO REPRODUCE
EXPECTED RESULTS
Expected ec2.py --list to return a list of ec2 instances when I have a instance
running within the af-south-1 region.
ACTUAL RESULTS
Get an empty list when running ec2.py --list
The text was updated successfully, but these errors were encountered: