Packer build fails with:
amazon-ebs: error validating regions: AuthFailure: AWS was not able to validate the provided access credentials
I severally encountered the above error while trying build an AMI on AWS. My template contains the necessary variable exported called with the env
packer keyword.