Tutorial fails

21 views
Skip to first unread message

Mark Segal

unread,
Dec 2, 2017, 10:00:04 AM12/2/17
to Packer
Hello, I am new to Packer, I am trying to get the first tutorial to run however it fails with the following error,

    amazon-ebs: Error querying AMI: NoCredentialProviders: no valid providers in chain

I have validated the 'example.json' file and am running the following command,

packer build -var 'aws_access_key=My_Key' -var 'aws_secret_key=My_Secret_Key' example.json

Where My_Key and My_Secret_Key  are active in my AWS Security Credential page. Could someone please provide some guidance as to what I'm missing?

Alvaro Miranda Aguilera

unread,
Dec 2, 2017, 10:33:43 AM12/2/17
to packe...@googlegroups.com
Please include example.json

Alvaro.

On 2 Dec 2017, at 16:00, Mark Segal <sega...@gmail.com> wrote:

example.json

Mark Segal

unread,
Dec 2, 2017, 10:38:54 AM12/2/17
to Packer
Thanks Alvaro, actually i just figured it out. It was an issue with my awscli configuration. Things are working now.
Reply all
Reply to author
Forward
0 new messages