title: How to attach multiple IAM policies to IAM roles using Terraform?
body: <p>I want to attach multiple IAM Policy ARNs to a single IAM Role.</p>
  
  <p>One method is to create a new policy with privileges of all the policies (multiple policies).</p>
  
  <p>But in AWS, we have some predefined IAM policies like <code>AmazonEC2FullAccess</code>, <code>AmazomS3FullAccess</code>, etc. I want to use a combination of these for my role.</p>
  
  <p>I could not find a way to do so in the Terraform documentation.</p>
  
  <p>As per documentation we can use <a href="https://www.terraform.io/docs/providers/aws/r/iam_role_policy_attachment.html" rel="noreferrer"><code>aws_iam_role_policy_attachment</code></a> to attach a policy to a role, but not multiple policies to a role as this is available via AWS console.</p>
  
  <p>Please let me know if there is a method to do the same or is it still a feature to be added.</p>
  
  <p>The Terraform version I use is <code>v0.9.5</code></p>