{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/5908","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/5908/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/5908/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/5908/events","html_url":"https://github.com/hashicorp/terraform/issues/5908","id":144359809,"number":5908,"title":"Force-destroying AWS IAM Users","user":{"login":"MattSurabian","id":1134260,"avatar_url":"https://avatars.githubusercontent.com/u/1134260?v=3","gravatar_id":"","url":"https://api.github.com/users/MattSurabian","html_url":"https://github.com/MattSurabian","followers_url":"https://api.github.com/users/MattSurabian/followers","following_url":"https://api.github.com/users/MattSurabian/following{/other_user}","gists_url":"https://api.github.com/users/MattSurabian/gists{/gist_id}","starred_url":"https://api.github.com/users/MattSurabian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattSurabian/subscriptions","organizations_url":"https://api.github.com/users/MattSurabian/orgs","repos_url":"https://api.github.com/users/MattSurabian/repos","events_url":"https://api.github.com/users/MattSurabian/events{/privacy}","received_events_url":"https://api.github.com/users/MattSurabian/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hashicorp/terraform/labels/enhancement","name":"enhancement","color":"d4c5f9"},{"url":"https://api.github.com/repos/hashicorp/terraform/labels/provider/aws","name":"provider/aws","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-29T19:12:58Z","updated_at":"2016-06-02T05:10:36Z","closed_at":null,"body":"I'd love to be able to manage all of our organizations existing IAM users in \r\nterraform. Backporting the data into `.tfstate` is straightforward, but using \r\nterraform to destroy `aws_iam_user` records is not. \r\n\r\nThe limitations I've encountered would relate to any `aws_iam_user` resource,\r\nwhether created by terraform or backported, provided user credentials had been \r\ngenerated for it (user/pass or access keys) at some point after creation.\r\n\r\nThe API won't allow deletion of a user that has credentials associated with \r\nit. Much like #4005, I suspect the ideal scenario is to remove any \"login \r\nprofiles\" or \"access keys\" before deleting the user.\r\n\r\nIf a pull request was created that accomplished this would it be accepted?\r\n"},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/223196892","html_url":"https://github.com/hashicorp/terraform/issues/5908#issuecomment-223196892","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/5908","id":223196892,"user":{"login":"tkellen","id":1004324,"avatar_url":"https://avatars.githubusercontent.com/u/1004324?v=3","gravatar_id":"","url":"https://api.github.com/users/tkellen","html_url":"https://github.com/tkellen","followers_url":"https://api.github.com/users/tkellen/followers","following_url":"https://api.github.com/users/tkellen/following{/other_user}","gists_url":"https://api.github.com/users/tkellen/gists{/gist_id}","starred_url":"https://api.github.com/users/tkellen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkellen/subscriptions","organizations_url":"https://api.github.com/users/tkellen/orgs","repos_url":"https://api.github.com/users/tkellen/repos","events_url":"https://api.github.com/users/tkellen/events{/privacy}","received_events_url":"https://api.github.com/users/tkellen/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T05:10:36Z","updated_at":"2016-06-02T05:10:36Z","body":"ping @phinze "}}
{"actor":{"display_login":"tkellen"}}