Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29245

Ansible ec2.py doesnt return all ec2 instances in the AWS account, it returns only the instances created in public subnets

$
0
0

Trying to run ec2.py with Ansible dynamic inventory and have added the parameters destination_variable = private_ip_address vpc_destination_variable = private_ip_address

in the ec2.ini file. gave executable permisisons for ec2.py and when I run ./ec2.py it returns only the ec2 instances in public subnets. There are another 2 instances in private subnets and those are never displayed. How would I use the ansible dynamic inventory agaisnt the ec2 instances in private subnets?


Viewing all articles
Browse latest Browse all 29245

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>