Recently our automated deployments to EB started failing as AWS had changed the IAM policy requirements. After having updated the policy, I thought it might be useful to share the set up.
We use CodeShip as our CI/CD server and this is the IAM policy required to allow it to deploy to EB.
This policy sets the minimum requirements that will allow an IAM account to successfully deploy an EB app.