title: Is it possible to configure an IAM role for an ECS task ?
body: <p>I need to do some initialisation that needs access to certain AWS resources during my docker entrypoint. </p>
  
  <p>My application could also do with implicit role based access to AWS rather than configuring the key pair in app config. </p>
  
  <p>How do IAM roles work in tasks ? I could only find IAM role documentation on ECS container instances.</p>