{"action":"closed","issue":{"url":"https://api.github.com/repos/kubernetes/kops/issues/97","repository_url":"https://api.github.com/repos/kubernetes/kops","labels_url":"https://api.github.com/repos/kubernetes/kops/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kops/issues/97/comments","events_url":"https://api.github.com/repos/kubernetes/kops/issues/97/events","html_url":"https://github.com/kubernetes/kops/issues/97","id":164618451,"number":97,"title":"Delete leaks resources","user":{"login":"justinsb","id":100893,"avatar_url":"https://avatars.githubusercontent.com/u/100893?v=3","gravatar_id":"","url":"https://api.github.com/users/justinsb","html_url":"https://github.com/justinsb","followers_url":"https://api.github.com/users/justinsb/followers","following_url":"https://api.github.com/users/justinsb/following{/other_user}","gists_url":"https://api.github.com/users/justinsb/gists{/gist_id}","starred_url":"https://api.github.com/users/justinsb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinsb/subscriptions","organizations_url":"https://api.github.com/users/justinsb/orgs","repos_url":"https://api.github.com/users/justinsb/repos","events_url":"https://api.github.com/users/justinsb/events{/privacy}","received_events_url":"https://api.github.com/users/justinsb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-08T21:18:15Z","updated_at":"2016-07-10T02:32:02Z","closed_at":"2016-07-10T02:32:02Z","body":"We leak iam profiles at least, and probably more.  Make sure that delete cluster cleans up everything.\r\n\r\nA user (zapman) provided the following script for IAM:\r\n\r\n```\r\n  for pre in masters nodes ; do\r\n        aws iam remove-role-from-instance-profile --instance-profile-name ${pre}.${NAME} --role-name ${pre}.${NAME}\r\n        aws iam delete-instance-profile --instance-profile-name ${pre}.${NAME}\r\n        aws iam delete-role-policy --role-name ${pre}.${NAME} --policy-name ${pre}.${NAME}\r\n        aws iam delete-role --role-name ${pre}.${NAME}\r\n   done\r\n```\r\n"}}
{"actor":{"display_login":"justinsb"}}