Packer: amazon-ebs: Error querying AMI: AuthFailure: AWS was not able to validate the provided access credentials

Created on 8 Jan 2016  ยท  5Comments  ยท  Source: hashicorp/packer

Packer v0.9.0.rc1 (25108c8d13912434d0f32faaf1ea13cdc537b21e+CHANGES)

amazon-ebs output will be in this color.

==> amazon-ebs: Prevalidating AMI Name...
==> amazon-ebs: Error querying AMI: AuthFailure: AWS was not able to validate the provided access credentials
==> amazon-ebs: status code: 401, request id:
Build 'amazon-ebs' errored: Error querying AMI: AuthFailure: AWS was not able to validate the provided access credentials
status code: 401, request id:

==> Some builds didn't complete successfully and had errors:
--> amazon-ebs: Error querying AMI: AuthFailure: AWS was not able to validate the provided access credentials
status code: 401, request id:

==> Builds finished but no artifacts were created.

It used to work perfectly. The only thing changed that I can recall is the packer version installed in Atlas. Is there something I should change in the packer json file?

bug buildeamazon waiting-reply

Most helpful comment

Heads up for others. AMI IDs change depending on the AWS region.

All 5 comments

The same goes if packer version downgraded to 0.8.5

region is: eu-west-1

Thanks for the report. Can you tell me how you're specifying your credentials? I think this may be the same issue as #2611.

Heads up for others. AMI IDs change depending on the AWS region.

I'm going to lock this issue because it has been closed for _30 days_ โณ. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

Was this page helpful?
0 / 5 - 0 ratings