I have multiple aws accounts. I would like to manage all these accounts using ansible playbooks. ex. provisioning new machines etc..
But when I use profile/AWS_PROFILE option it always taking default profile not going to specified profiles.
It says specified vpc does not exist as it is checking under default profile from ~/.aws./credentials or ~/.boto files
Please let me know how can I manage multiple aws accounts using ansible playbooks.
I have installed boto3 using pip on my machine.,
p.s. I am using all these playbooks from one of the ec2 machine. This is from default profile location.
Thanks in advance..