{"action":"opened","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/2100","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/2100/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/2100/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/2100/events","html_url":"https://github.com/hashicorp/terraform/issues/2100","id":81447476,"number":2100,"title":"provider/aws: aws_iam_role_policy add support for managed IAM policies ","user":{"login":"zhukau","id":5098233,"avatar_url":"https://avatars.githubusercontent.com/u/5098233?v=3","gravatar_id":"","url":"https://api.github.com/users/zhukau","html_url":"https://github.com/zhukau","followers_url":"https://api.github.com/users/zhukau/followers","following_url":"https://api.github.com/users/zhukau/following{/other_user}","gists_url":"https://api.github.com/users/zhukau/gists{/gist_id}","starred_url":"https://api.github.com/users/zhukau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhukau/subscriptions","organizations_url":"https://api.github.com/users/zhukau/orgs","repos_url":"https://api.github.com/users/zhukau/repos","events_url":"https://api.github.com/users/zhukau/events{/privacy}","received_events_url":"https://api.github.com/users/zhukau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-27T13:31:05Z","updated_at":"2015-05-27T13:31:05Z","closed_at":null,"body":"Currently `aws_iam_role_policy` supports only attachment of inline policies to `aws_iam_role`. Recently Amazon introduced managed [IAM policies](http://docs.aws.amazon.com/IAM/latest/UserGuide/policies_using-managed.html#policies_using-managed-cli-api) and [recommends](http://docs.aws.amazon.com/IAM/latest/UserGuide/policies_using-managed.html#policies_using-managed-cli-api) using them over inline policies. It would be nice if Terraform supports both types of policies."}}