i am using packer version 1.5.5 and trying to create AMI on AWS but getting an below error:
" Build ‘amazon-ebs’ errored: error validating regions: AuthFailure: AWS was not able to validate the provided access credentials
status code: 401, request id: a06b49b4-4ee1-42c6-99a5-7cd9f62d3387"
i have already exported the aws secret, access and the region on the packer node. is there anything which i am missing.
in aws i am able to create the AMI using the same account which i am using in the packer json.