title: Terraform: associate an aws_iam_role with an aws_iam_policy
body: <p>Reading through <a href="https://www.terraform.io/docs/providers/aws/r/iam_policy.html" rel="nofollow">the docs</a> and having a hard time seeing how to associate an <code>aws_iam_role</code> with an <code>aws_iam_policy</code>. Obviously there's <code>aws_iam_role_policy</code>, but that only allows making "inline policies" for a particular role.</p>
  
  <p>Any suggestions?</p>