{"action":"opened","number":14,"pull_request":{"url":"https://api.github.com/repos/drone-plugins/drone-terraform/pulls/14","id":63876038,"html_url":"https://github.com/drone-plugins/drone-terraform/pull/14","diff_url":"https://github.com/drone-plugins/drone-terraform/pull/14.diff","patch_url":"https://github.com/drone-plugins/drone-terraform/pull/14.patch","issue_url":"https://api.github.com/repos/drone-plugins/drone-terraform/issues/14","number":14,"state":"open","locked":false,"title":"allow assume role before running terraform commands","user":{"login":"jeffastorey","id":1882220,"avatar_url":"https://avatars.githubusercontent.com/u/1882220?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffastorey","html_url":"https://github.com/jeffastorey","followers_url":"https://api.github.com/users/jeffastorey/followers","following_url":"https://api.github.com/users/jeffastorey/following{/other_user}","gists_url":"https://api.github.com/users/jeffastorey/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffastorey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffastorey/subscriptions","organizations_url":"https://api.github.com/users/jeffastorey/orgs","repos_url":"https://api.github.com/users/jeffastorey/repos","events_url":"https://api.github.com/users/jeffastorey/events{/privacy}","received_events_url":"https://api.github.com/users/jeffastorey/received_events","type":"User","site_admin":false},"body":"Gives the ability to assume a role before applying the terraform commands. This is useful for doing cross account terraform calls. This feature has been suggested in terraform itself https://github.com/hashicorp/terraform/issues/1275, but it has been open for a year.\r\n\r\nThis PR allows drone to be run under a central IAM role in AWS that has the ability to assume other roles.","created_at":"2016-03-23T12:45:58Z","updated_at":"2016-03-23T12:45:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/drone-plugins/drone-terraform/pulls/14/commits","review_comments_url":"https://api.github.com/repos/drone-plugins/drone-terraform/pulls/14/comments","review_comment_url":"https://api.github.com/repos/drone-plugins/drone-terraform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/drone-plugins/drone-terraform/issues/14/comments","statuses_url":"https://api.github.com/repos/drone-plugins/drone-terraform/statuses/90a46bd02cd3dd6176f89bf205184e043c083376","head":{"label":"jeffastorey:master","ref":"master","sha":"90a46bd02cd3dd6176f89bf205184e043c083376","user":{"login":"jeffastorey","id":1882220,"avatar_url":"https://avatars.githubusercontent.com/u/1882220?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffastorey","html_url":"https://github.com/jeffastorey","followers_url":"https://api.github.com/users/jeffastorey/followers","following_url":"https://api.github.com/users/jeffastorey/following{/other_user}","gists_url":"https://api.github.com/users/jeffastorey/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffastorey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffastorey/subscriptions","organizations_url":"https://api.github.com/users/jeffastorey/orgs","repos_url":"https://api.github.com/users/jeffastorey/repos","events_url":"https://api.github.com/users/jeffastorey/events{/privacy}","received_events_url":"https://api.github.com/users/jeffastorey/received_events","type":"User","site_admin":false},"repo":{"id":54558818,"name":"drone-terraform","full_name":"jeffastorey/drone-terraform","owner":{"login":"jeffastorey","id":1882220,"avatar_url":"https://avatars.githubusercontent.com/u/1882220?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffastorey","html_url":"https://github.com/jeffastorey","followers_url":"https://api.github.com/users/jeffastorey/followers","following_url":"https://api.github.com/users/jeffastorey/following{/other_user}","gists_url":"https://api.github.com/users/jeffastorey/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffastorey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffastorey/subscriptions","organizations_url":"https://api.github.com/users/jeffastorey/orgs","repos_url":"https://api.github.com/users/jeffastorey/repos","events_url":"https://api.github.com/users/jeffastorey/events{/privacy}","received_events_url":"https://api.github.com/users/jeffastorey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeffastorey/drone-terraform","description":"Drone plugin for triggering Terraform deployments","fork":true,"url":"https://api.github.com/repos/jeffastorey/drone-terraform","forks_url":"https://api.github.com/repos/jeffastorey/drone-terraform/forks","keys_url":"https://api.github.com/repos/jeffastorey/drone-terraform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeffastorey/drone-terraform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeffastorey/drone-terraform/teams","hooks_url":"https://api.github.com/repos/jeffastorey/drone-terraform/hooks","issue_events_url":"https://api.github.com/repos/jeffastorey/drone-terraform/issues/events{/number}","events_url":"https://api.github.com/repos/jeffastorey/drone-terraform/events","assignees_url":"https://api.github.com/repos/jeffastorey/drone-terraform/assignees{/user}","branches_url":"https://api.github.com/repos/jeffastorey/drone-terraform/branches{/branch}","tags_url":"https://api.github.com/repos/jeffastorey/drone-terraform/tags","blobs_url":"https://api.github.com/repos/jeffastorey/drone-terraform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeffastorey/drone-terraform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeffastorey/drone-terraform/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeffastorey/drone-terraform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeffastorey/drone-terraform/statuses/{sha}","languages_url":"https://api.github.com/repos/jeffastorey/drone-terraform/languages","stargazers_url":"https://api.github.com/repos/jeffastorey/drone-terraform/stargazers","contributors_url":"https://api.github.com/repos/jeffastorey/drone-terraform/contributors","subscribers_url":"https://api.github.com/repos/jeffastorey/drone-terraform/subscribers","subscription_url":"https://api.github.com/repos/jeffastorey/drone-terraform/subscription","commits_url":"https://api.github.com/repos/jeffastorey/drone-terraform/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeffastorey/drone-terraform/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeffastorey/drone-terraform/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeffastorey/drone-terraform/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeffastorey/drone-terraform/contents/{+path}","compare_url":"https://api.github.com/repos/jeffastorey/drone-terraform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeffastorey/drone-terraform/merges","archive_url":"https://api.github.com/repos/jeffastorey/drone-terraform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeffastorey/drone-terraform/downloads","issues_url":"https://api.github.com/repos/jeffastorey/drone-terraform/issues{/number}","pulls_url":"https://api.github.com/repos/jeffastorey/drone-terraform/pulls{/number}","milestones_url":"https://api.github.com/repos/jeffastorey/drone-terraform/milestones{/number}","notifications_url":"https://api.github.com/repos/jeffastorey/drone-terraform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeffastorey/drone-terraform/labels{/name}","releases_url":"https://api.github.com/repos/jeffastorey/drone-terraform/releases{/id}","deployments_url":"https://api.github.com/repos/jeffastorey/drone-terraform/deployments","created_at":"2016-03-23T12:41:32Z","updated_at":"2016-03-23T12:41:33Z","pushed_at":"2016-03-23T12:43:28Z","git_url":"git://github.com/jeffastorey/drone-terraform.git","ssh_url":"git@github.com:jeffastorey/drone-terraform.git","clone_url":"https://github.com/jeffastorey/drone-terraform.git","svn_url":"https://github.com/jeffastorey/drone-terraform","homepage":null,"size":952,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"drone-plugins:master","ref":"master","sha":"371076e77322befcfb2ec241d16eaf684d696926","user":{"login":"drone-plugins","id":11234644,"avatar_url":"https://avatars.githubusercontent.com/u/11234644?v=3","gravatar_id":"","url":"https://api.github.com/users/drone-plugins","html_url":"https://github.com/drone-plugins","followers_url":"https://api.github.com/users/drone-plugins/followers","following_url":"https://api.github.com/users/drone-plugins/following{/other_user}","gists_url":"https://api.github.com/users/drone-plugins/gists{/gist_id}","starred_url":"https://api.github.com/users/drone-plugins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drone-plugins/subscriptions","organizations_url":"https://api.github.com/users/drone-plugins/orgs","repos_url":"https://api.github.com/users/drone-plugins/repos","events_url":"https://api.github.com/users/drone-plugins/events{/privacy}","received_events_url":"https://api.github.com/users/drone-plugins/received_events","type":"Organization","site_admin":false},"repo":{"id":50464233,"name":"drone-terraform","full_name":"drone-plugins/drone-terraform","owner":{"login":"drone-plugins","id":11234644,"avatar_url":"https://avatars.githubusercontent.com/u/11234644?v=3","gravatar_id":"","url":"https://api.github.com/users/drone-plugins","html_url":"https://github.com/drone-plugins","followers_url":"https://api.github.com/users/drone-plugins/followers","following_url":"https://api.github.com/users/drone-plugins/following{/other_user}","gists_url":"https://api.github.com/users/drone-plugins/gists{/gist_id}","starred_url":"https://api.github.com/users/drone-plugins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drone-plugins/subscriptions","organizations_url":"https://api.github.com/users/drone-plugins/orgs","repos_url":"https://api.github.com/users/drone-plugins/repos","events_url":"https://api.github.com/users/drone-plugins/events{/privacy}","received_events_url":"https://api.github.com/users/drone-plugins/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/drone-plugins/drone-terraform","description":"Drone plugin for triggering Terraform deployments","fork":false,"url":"https://api.github.com/repos/drone-plugins/drone-terraform","forks_url":"https://api.github.com/repos/drone-plugins/drone-terraform/forks","keys_url":"https://api.github.com/repos/drone-plugins/drone-terraform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/drone-plugins/drone-terraform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/drone-plugins/drone-terraform/teams","hooks_url":"https://api.github.com/repos/drone-plugins/drone-terraform/hooks","issue_events_url":"https://api.github.com/repos/drone-plugins/drone-terraform/issues/events{/number}","events_url":"https://api.github.com/repos/drone-plugins/drone-terraform/events","assignees_url":"https://api.github.com/repos/drone-plugins/drone-terraform/assignees{/user}","branches_url":"https://api.github.com/repos/drone-plugins/drone-terraform/branches{/branch}","tags_url":"https://api.github.com/repos/drone-plugins/drone-terraform/tags","blobs_url":"https://api.github.com/repos/drone-plugins/drone-terraform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/drone-plugins/drone-terraform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/drone-plugins/drone-terraform/git/refs{/sha}","trees_url":"https://api.github.com/repos/drone-plugins/drone-terraform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/drone-plugins/drone-terraform/statuses/{sha}","languages_url":"https://api.github.com/repos/drone-plugins/drone-terraform/languages","stargazers_url":"https://api.github.com/repos/drone-plugins/drone-terraform/stargazers","contributors_url":"https://api.github.com/repos/drone-plugins/drone-terraform/contributors","subscribers_url":"https://api.github.com/repos/drone-plugins/drone-terraform/subscribers","subscription_url":"https://api.github.com/repos/drone-plugins/drone-terraform/subscription","commits_url":"https://api.github.com/repos/drone-plugins/drone-terraform/commits{/sha}","git_commits_url":"https://api.github.com/repos/drone-plugins/drone-terraform/git/commits{/sha}","comments_url":"https://api.github.com/repos/drone-plugins/drone-terraform/comments{/number}","issue_comment_url":"https://api.github.com/repos/drone-plugins/drone-terraform/issues/comments{/number}","contents_url":"https://api.github.com/repos/drone-plugins/drone-terraform/contents/{+path}","compare_url":"https://api.github.com/repos/drone-plugins/drone-terraform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/drone-plugins/drone-terraform/merges","archive_url":"https://api.github.com/repos/drone-plugins/drone-terraform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/drone-plugins/drone-terraform/downloads","issues_url":"https://api.github.com/repos/drone-plugins/drone-terraform/issues{/number}","pulls_url":"https://api.github.com/repos/drone-plugins/drone-terraform/pulls{/number}","milestones_url":"https://api.github.com/repos/drone-plugins/drone-terraform/milestones{/number}","notifications_url":"https://api.github.com/repos/drone-plugins/drone-terraform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/drone-plugins/drone-terraform/labels{/name}","releases_url":"https://api.github.com/repos/drone-plugins/drone-terraform/releases{/id}","deployments_url":"https://api.github.com/repos/drone-plugins/drone-terraform/deployments","created_at":"2016-01-26T22:34:02Z","updated_at":"2016-02-22T16:50:56Z","pushed_at":"2016-02-25T21:14:44Z","git_url":"git://github.com/drone-plugins/drone-terraform.git","ssh_url":"git@github.com:drone-plugins/drone-terraform.git","clone_url":"https://github.com/drone-plugins/drone-terraform.git","svn_url":"https://github.com/drone-plugins/drone-terraform","homepage":null,"size":949,"stargazers_count":5,"watchers_count":5,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":3,"forks":4,"open_issues":3,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/drone-plugins/drone-terraform/pulls/14"},"html":{"href":"https://github.com/drone-plugins/drone-terraform/pull/14"},"issue":{"href":"https://api.github.com/repos/drone-plugins/drone-terraform/issues/14"},"comments":{"href":"https://api.github.com/repos/drone-plugins/drone-terraform/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/drone-plugins/drone-terraform/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/drone-plugins/drone-terraform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/drone-plugins/drone-terraform/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/drone-plugins/drone-terraform/statuses/90a46bd02cd3dd6176f89bf205184e043c083376"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":52,"deletions":2,"changed_files":2}}