Create AWS AMI policy, IAMgGroup and IAM user for Hashicorp Packer

This tutorails helps you to create a AWS AMI policy, IAMgGroup and IAM user for Hashicorp Packer execution so Packer should get only needed access than all.

Step 1 – Create an IAM User named “packer_user” in AWS .

Step 2 – Create a custom inline Policy named “packer_ami_policy” as shown

Step 3 – Attach the created Policy “packer_ami_policy” to user “packer_user”