{"action":"opened","number":3313,"pull_request":{"url":"https://api.github.com/repos/hashicorp/terraform/pulls/3313","id":45845353,"html_url":"https://github.com/hashicorp/terraform/pull/3313","diff_url":"https://github.com/hashicorp/terraform/pull/3313.diff","patch_url":"https://github.com/hashicorp/terraform/pull/3313.patch","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/3313","number":3313,"state":"open","locked":false,"title":"Fix ValidateAccountId for IAM Instance Profiles","user":{"login":"sarguru","id":828926,"avatar_url":"https://avatars.githubusercontent.com/u/828926?v=3","gravatar_id":"","url":"https://api.github.com/users/sarguru","html_url":"https://github.com/sarguru","followers_url":"https://api.github.com/users/sarguru/followers","following_url":"https://api.github.com/users/sarguru/following{/other_user}","gists_url":"https://api.github.com/users/sarguru/gists{/gist_id}","starred_url":"https://api.github.com/users/sarguru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarguru/subscriptions","organizations_url":"https://api.github.com/users/sarguru/orgs","repos_url":"https://api.github.com/users/sarguru/repos","events_url":"https://api.github.com/users/sarguru/events{/privacy}","received_events_url":"https://api.github.com/users/sarguru/received_events","type":"User","site_admin":false},"body":"Currently while running terraform plan against IAM instance profiles terraform crashes . It was throwing an exception and exiting on 0.6.3 and prior but #3001 missed to exit out of the function .  This PR fixes that .  Testing this version  on IAM instance profiles, no more crashes terraform and throws up exception but works as expected. ","created_at":"2015-09-23T23:47:03Z","updated_at":"2015-09-23T23:47:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hashicorp/terraform/pulls/3313/commits","review_comments_url":"https://api.github.com/repos/hashicorp/terraform/pulls/3313/comments","review_comment_url":"https://api.github.com/repos/hashicorp/terraform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/3313/comments","statuses_url":"https://api.github.com/repos/hashicorp/terraform/statuses/6b2d6f5ae4da15947afb1b44c13cee5790929972","head":{"label":"sarguru:iam_validateaccount_fixcrash","ref":"iam_validateaccount_fixcrash","sha":"6b2d6f5ae4da15947afb1b44c13cee5790929972","user":{"login":"sarguru","id":828926,"avatar_url":"https://avatars.githubusercontent.com/u/828926?v=3","gravatar_id":"","url":"https://api.github.com/users/sarguru","html_url":"https://github.com/sarguru","followers_url":"https://api.github.com/users/sarguru/followers","following_url":"https://api.github.com/users/sarguru/following{/other_user}","gists_url":"https://api.github.com/users/sarguru/gists{/gist_id}","starred_url":"https://api.github.com/users/sarguru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarguru/subscriptions","organizations_url":"https://api.github.com/users/sarguru/orgs","repos_url":"https://api.github.com/users/sarguru/repos","events_url":"https://api.github.com/users/sarguru/events{/privacy}","received_events_url":"https://api.github.com/users/sarguru/received_events","type":"User","site_admin":false},"repo":{"id":40685339,"name":"terraform","full_name":"sarguru/terraform","owner":{"login":"sarguru","id":828926,"avatar_url":"https://avatars.githubusercontent.com/u/828926?v=3","gravatar_id":"","url":"https://api.github.com/users/sarguru","html_url":"https://github.com/sarguru","followers_url":"https://api.github.com/users/sarguru/followers","following_url":"https://api.github.com/users/sarguru/following{/other_user}","gists_url":"https://api.github.com/users/sarguru/gists{/gist_id}","starred_url":"https://api.github.com/users/sarguru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarguru/subscriptions","organizations_url":"https://api.github.com/users/sarguru/orgs","repos_url":"https://api.github.com/users/sarguru/repos","events_url":"https://api.github.com/users/sarguru/events{/privacy}","received_events_url":"https://api.github.com/users/sarguru/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sarguru/terraform","description":"Terraform is a tool for building, changing, and combining infrastructure safely and efficiently.","fork":true,"url":"https://api.github.com/repos/sarguru/terraform","forks_url":"https://api.github.com/repos/sarguru/terraform/forks","keys_url":"https://api.github.com/repos/sarguru/terraform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sarguru/terraform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sarguru/terraform/teams","hooks_url":"https://api.github.com/repos/sarguru/terraform/hooks","issue_events_url":"https://api.github.com/repos/sarguru/terraform/issues/events{/number}","events_url":"https://api.github.com/repos/sarguru/terraform/events","assignees_url":"https://api.github.com/repos/sarguru/terraform/assignees{/user}","branches_url":"https://api.github.com/repos/sarguru/terraform/branches{/branch}","tags_url":"https://api.github.com/repos/sarguru/terraform/tags","blobs_url":"https://api.github.com/repos/sarguru/terraform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sarguru/terraform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sarguru/terraform/git/refs{/sha}","trees_url":"https://api.github.com/repos/sarguru/terraform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sarguru/terraform/statuses/{sha}","languages_url":"https://api.github.com/repos/sarguru/terraform/languages","stargazers_url":"https://api.github.com/repos/sarguru/terraform/stargazers","contributors_url":"https://api.github.com/repos/sarguru/terraform/contributors","subscribers_url":"https://api.github.com/repos/sarguru/terraform/subscribers","subscription_url":"https://api.github.com/repos/sarguru/terraform/subscription","commits_url":"https://api.github.com/repos/sarguru/terraform/commits{/sha}","git_commits_url":"https://api.github.com/repos/sarguru/terraform/git/commits{/sha}","comments_url":"https://api.github.com/repos/sarguru/terraform/comments{/number}","issue_comment_url":"https://api.github.com/repos/sarguru/terraform/issues/comments{/number}","contents_url":"https://api.github.com/repos/sarguru/terraform/contents/{+path}","compare_url":"https://api.github.com/repos/sarguru/terraform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sarguru/terraform/merges","archive_url":"https://api.github.com/repos/sarguru/terraform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sarguru/terraform/downloads","issues_url":"https://api.github.com/repos/sarguru/terraform/issues{/number}","pulls_url":"https://api.github.com/repos/sarguru/terraform/pulls{/number}","milestones_url":"https://api.github.com/repos/sarguru/terraform/milestones{/number}","notifications_url":"https://api.github.com/repos/sarguru/terraform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sarguru/terraform/labels{/name}","releases_url":"https://api.github.com/repos/sarguru/terraform/releases{/id}","created_at":"2015-08-13T22:55:11Z","updated_at":"2015-08-13T22:55:14Z","pushed_at":"2015-09-23T23:41:55Z","git_url":"git://github.com/sarguru/terraform.git","ssh_url":"git@github.com:sarguru/terraform.git","clone_url":"https://github.com/sarguru/terraform.git","svn_url":"https://github.com/sarguru/terraform","homepage":"http://www.terraform.io","size":28727,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hashicorp:master","ref":"master","sha":"e7f33bf5236534c3f0f3d593c36525ea70e86d65","user":{"login":"hashicorp","id":761456,"avatar_url":"https://avatars.githubusercontent.com/u/761456?v=3","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"repo":{"id":17728164,"name":"terraform","full_name":"hashicorp/terraform","owner":{"login":"hashicorp","id":761456,"avatar_url":"https://avatars.githubusercontent.com/u/761456?v=3","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hashicorp/terraform","description":"Terraform is a tool for building, changing, and combining infrastructure safely and efficiently.","fork":false,"url":"https://api.github.com/repos/hashicorp/terraform","forks_url":"https://api.github.com/repos/hashicorp/terraform/forks","keys_url":"https://api.github.com/repos/hashicorp/terraform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hashicorp/terraform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hashicorp/terraform/teams","hooks_url":"https://api.github.com/repos/hashicorp/terraform/hooks","issue_events_url":"https://api.github.com/repos/hashicorp/terraform/issues/events{/number}","events_url":"https://api.github.com/repos/hashicorp/terraform/events","assignees_url":"https://api.github.com/repos/hashicorp/terraform/assignees{/user}","branches_url":"https://api.github.com/repos/hashicorp/terraform/branches{/branch}","tags_url":"https://api.github.com/repos/hashicorp/terraform/tags","blobs_url":"https://api.github.com/repos/hashicorp/terraform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hashicorp/terraform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hashicorp/terraform/git/refs{/sha}","trees_url":"https://api.github.com/repos/hashicorp/terraform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hashicorp/terraform/statuses/{sha}","languages_url":"https://api.github.com/repos/hashicorp/terraform/languages","stargazers_url":"https://api.github.com/repos/hashicorp/terraform/stargazers","contributors_url":"https://api.github.com/repos/hashicorp/terraform/contributors","subscribers_url":"https://api.github.com/repos/hashicorp/terraform/subscribers","subscription_url":"https://api.github.com/repos/hashicorp/terraform/subscription","commits_url":"https://api.github.com/repos/hashicorp/terraform/commits{/sha}","git_commits_url":"https://api.github.com/repos/hashicorp/terraform/git/commits{/sha}","comments_url":"https://api.github.com/repos/hashicorp/terraform/comments{/number}","issue_comment_url":"https://api.github.com/repos/hashicorp/terraform/issues/comments{/number}","contents_url":"https://api.github.com/repos/hashicorp/terraform/contents/{+path}","compare_url":"https://api.github.com/repos/hashicorp/terraform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hashicorp/terraform/merges","archive_url":"https://api.github.com/repos/hashicorp/terraform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hashicorp/terraform/downloads","issues_url":"https://api.github.com/repos/hashicorp/terraform/issues{/number}","pulls_url":"https://api.github.com/repos/hashicorp/terraform/pulls{/number}","milestones_url":"https://api.github.com/repos/hashicorp/terraform/milestones{/number}","notifications_url":"https://api.github.com/repos/hashicorp/terraform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hashicorp/terraform/labels{/name}","releases_url":"https://api.github.com/repos/hashicorp/terraform/releases{/id}","created_at":"2014-03-13T22:25:48Z","updated_at":"2015-09-23T20:45:44Z","pushed_at":"2015-09-23T21:05:21Z","git_url":"git://github.com/hashicorp/terraform.git","ssh_url":"git@github.com:hashicorp/terraform.git","clone_url":"https://github.com/hashicorp/terraform.git","svn_url":"https://github.com/hashicorp/terraform","homepage":"http://www.terraform.io","size":52325,"stargazers_count":3020,"watchers_count":3020,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":660,"mirror_url":null,"open_issues_count":655,"forks":660,"open_issues":655,"watchers":3020,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/3313"},"html":{"href":"https://github.com/hashicorp/terraform/pull/3313"},"issue":{"href":"https://api.github.com/repos/hashicorp/terraform/issues/3313"},"comments":{"href":"https://api.github.com/repos/hashicorp/terraform/issues/3313/comments"},"review_comments":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/3313/comments"},"review_comment":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/3313/commits"},"statuses":{"href":"https://api.github.com/repos/hashicorp/terraform/statuses/6b2d6f5ae4da15947afb1b44c13cee5790929972"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":1,"deletions":0,"changed_files":1}}