Ansible not reading from AWS ENV variables?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I have AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY in my environment variables set, but I got this instead:



msg: No handler was ready to authenticate. 1 handlers were checked. ['HmacAuthV4Handler'] Check your credentials



As soon as I did this:



 local_action:
aws_access_key: ACCESS_KEY
aws_secret_key: SECRET_KEY
module: ec2_elb
region: us-west-1
instance_id: " ansible_ec2_instance_id "









share|improve this question





















  • Hi there, Please add details about what command you ran exactly. Full command line and output as well are always helpful for people to answer.
    – dpb
    Feb 21 at 6:26














up vote
0
down vote

favorite












I have AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY in my environment variables set, but I got this instead:



msg: No handler was ready to authenticate. 1 handlers were checked. ['HmacAuthV4Handler'] Check your credentials



As soon as I did this:



 local_action:
aws_access_key: ACCESS_KEY
aws_secret_key: SECRET_KEY
module: ec2_elb
region: us-west-1
instance_id: " ansible_ec2_instance_id "









share|improve this question





















  • Hi there, Please add details about what command you ran exactly. Full command line and output as well are always helpful for people to answer.
    – dpb
    Feb 21 at 6:26












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY in my environment variables set, but I got this instead:



msg: No handler was ready to authenticate. 1 handlers were checked. ['HmacAuthV4Handler'] Check your credentials



As soon as I did this:



 local_action:
aws_access_key: ACCESS_KEY
aws_secret_key: SECRET_KEY
module: ec2_elb
region: us-west-1
instance_id: " ansible_ec2_instance_id "









share|improve this question













I have AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY in my environment variables set, but I got this instead:



msg: No handler was ready to authenticate. 1 handlers were checked. ['HmacAuthV4Handler'] Check your credentials



As soon as I did this:



 local_action:
aws_access_key: ACCESS_KEY
aws_secret_key: SECRET_KEY
module: ec2_elb
region: us-west-1
instance_id: " ansible_ec2_instance_id "






amazon-ec2






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 17 at 11:28









srinivasu vallabhadasu

11




11











  • Hi there, Please add details about what command you ran exactly. Full command line and output as well are always helpful for people to answer.
    – dpb
    Feb 21 at 6:26
















  • Hi there, Please add details about what command you ran exactly. Full command line and output as well are always helpful for people to answer.
    – dpb
    Feb 21 at 6:26















Hi there, Please add details about what command you ran exactly. Full command line and output as well are always helpful for people to answer.
– dpb
Feb 21 at 6:26




Hi there, Please add details about what command you ran exactly. Full command line and output as well are always helpful for people to answer.
– dpb
Feb 21 at 6:26















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1007039%2fansible-not-reading-from-aws-env-variables%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1007039%2fansible-not-reading-from-aws-env-variables%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Which professions warranted travel in Medieval times?

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error