Fedora Infrastructure is using openstack with the ec2 compat layer and
thus the region was being set to something local rather than the
official aws regions. It looks like boto allows this via the
BOTO_ENDPOINTS environment variable (or a config file setting).
However, the ansible ec2 modules are additionally doing a check
against a hardcoded list of regions.
It seems like we might want to only depend on the regions that boto is
able to find because boto has less chance to become stale than we do.
So I'm inclined to accept this PR from them to remove the separate
check in ansible for this:
https://github.com/ansible/ansible/pull/10734
I just wanted to check with people who use ec2 more than I do about
ec2 about whether there would be any unwanted side effects from this
change.
Thanks for any feedback (here or preferably in the PR),
-Toshio