Hi,
I have used AWS CLI with --profile option to manage instances w.r.t different users. My config file is as shown below.
[default]
aws_access_key_id=xxxx
aws_secret_access_key=xxxx
[profile Test]
aws_access_key_id = xxxx
aws_secret_access_key = xxxx
region=us-east-1
Recently I have started learning ansible. I have created a config file ~/.boto which is shown below.
[Credentials]
aws_access_key_id = xxxx
aws_secret_access_key = xxxx
region = us-east-1
So My question is there a provision to add profiles to boto config file and use that option in ec2 and ec2_vol module to pass access key and secret key…??