Retrieving list of available VPCs and available Subnets via AWS dynamic inventory
17 views
Skip to first unread message
Rihards
unread,
Apr 15, 2015, 9:19:01 AM4/15/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
I have VPC with number of subnets in it which (vpc and subnets) are tagged in a particular way what would give me a way to retrieve a particular subnet that I want to use to launch ec2 instance (using ansible ec2 module).
How do I do that? Should I record subnet and vpc ids in some way in file to use them later on? What would be a best practice in this case?