I manage multiple AWS accounts. On all but one, I can use the ec2.py dynamic inventory script.
On that one account, the inventory is always empty:
kauer@kt:~/dev/ansible$ scripts/ec2.py --list
{
“_meta”: {
“hostvars”: {}
}
}
So authentication to AWS works. There are definitely running instances in the account. The user I am authenticating has has full administrative access.
Does anyone have any idea why this doesn’t work on just this one AWS account?
Regards, K.