I want to create basic aws infrastructure(vpc,subnets,route tables/routes,ec2 boxes) using saltstack.
I am using a centos vagrant box as my salt master and minion as well to create vpc, subnets and routes using salt states.
But the problem occurs when I try to spin up ec2 boxes from my vagrant using salt-cloud and then again configuring them using the state files. Minions created in aws aren't able to talk to my master on the vagrant as I am on private network.
Alternatively, I've tried to put my salt-master on an ec2 instance which works fine, except development is a pain as I have to write all salt scripts from inside the ec2 box, which is less than ideal for our dev team.
I would like to make this setup work from the vagrant box as my salt master.