{"action":"opened","number":5001,"pull_request":{"url":"https://api.github.com/repos/hashicorp/terraform/pulls/5001","id":58358715,"html_url":"https://github.com/hashicorp/terraform/pull/5001","diff_url":"https://github.com/hashicorp/terraform/pull/5001.diff","patch_url":"https://github.com/hashicorp/terraform/pull/5001.patch","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/5001","number":5001,"state":"open","locked":false,"title":"New Provider: Spotinst","user":{"login":"liranp","id":11387200,"avatar_url":"https://avatars.githubusercontent.com/u/11387200?v=3","gravatar_id":"","url":"https://api.github.com/users/liranp","html_url":"https://github.com/liranp","followers_url":"https://api.github.com/users/liranp/followers","following_url":"https://api.github.com/users/liranp/following{/other_user}","gists_url":"https://api.github.com/users/liranp/gists{/gist_id}","starred_url":"https://api.github.com/users/liranp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liranp/subscriptions","organizations_url":"https://api.github.com/users/liranp/orgs","repos_url":"https://api.github.com/users/liranp/repos","events_url":"https://api.github.com/users/liranp/events{/privacy}","received_events_url":"https://api.github.com/users/liranp/received_events","type":"User","site_admin":false},"body":"This adds a [Spotinst](https://www.spotinst.com) provider to Terraform, which can managed the following resources:\r\n\r\n```\r\n# Configure the Spotinst provider\r\nprovider \"spotinst\" {\r\n    token = \"${var.spotinst_token}\"\r\n}\r\n\r\n# Create an AWS group\r\nresource \"spotinst_aws_group\" \"workers\" {\r\n  name = \"workers-group\"\r\n  description = \"Spotinst AWS group created by Terraform\"\r\n  product = \"Linux/UNIX\"\r\n\r\n  capacity {\r\n    target = 50\r\n    minimum = 25\r\n    maximum = 100\r\n  }\r\n\r\n  instance_types {\r\n    ondemand = \"c3.large\"\r\n    spot = [\"m3.large\", \"m4.large\", \"c3.large\", \"c4.large\"]\r\n  }\r\n\r\n  availability_zone {\r\n    name = \"us-west-2b\"\r\n    subnet_id = \"subnet-7bbbf51e\"\r\n  }\r\n\r\n  scheduled_task {\r\n    task_type = \"backup_ami\"\r\n    frequency = \"hourly\"\r\n  }\r\n\r\n  ...\r\n}\r\n```","created_at":"2016-02-04T22:20:51Z","updated_at":"2016-02-04T22:20:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hashicorp/terraform/pulls/5001/commits","review_comments_url":"https://api.github.com/repos/hashicorp/terraform/pulls/5001/comments","review_comment_url":"https://api.github.com/repos/hashicorp/terraform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/5001/comments","statuses_url":"https://api.github.com/repos/hashicorp/terraform/statuses/c2d7acb826f29fe09b2e2f9734f26f0693312e8d","head":{"label":"spotinst:master","ref":"master","sha":"c2d7acb826f29fe09b2e2f9734f26f0693312e8d","user":{"login":"spotinst","id":11387329,"avatar_url":"https://avatars.githubusercontent.com/u/11387329?v=3","gravatar_id":"","url":"https://api.github.com/users/spotinst","html_url":"https://github.com/spotinst","followers_url":"https://api.github.com/users/spotinst/followers","following_url":"https://api.github.com/users/spotinst/following{/other_user}","gists_url":"https://api.github.com/users/spotinst/gists{/gist_id}","starred_url":"https://api.github.com/users/spotinst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spotinst/subscriptions","organizations_url":"https://api.github.com/users/spotinst/orgs","repos_url":"https://api.github.com/users/spotinst/repos","events_url":"https://api.github.com/users/spotinst/events{/privacy}","received_events_url":"https://api.github.com/users/spotinst/received_events","type":"Organization","site_admin":false},"repo":{"id":51107728,"name":"terraform","full_name":"spotinst/terraform","owner":{"login":"spotinst","id":11387329,"avatar_url":"https://avatars.githubusercontent.com/u/11387329?v=3","gravatar_id":"","url":"https://api.github.com/users/spotinst","html_url":"https://github.com/spotinst","followers_url":"https://api.github.com/users/spotinst/followers","following_url":"https://api.github.com/users/spotinst/following{/other_user}","gists_url":"https://api.github.com/users/spotinst/gists{/gist_id}","starred_url":"https://api.github.com/users/spotinst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spotinst/subscriptions","organizations_url":"https://api.github.com/users/spotinst/orgs","repos_url":"https://api.github.com/users/spotinst/repos","events_url":"https://api.github.com/users/spotinst/events{/privacy}","received_events_url":"https://api.github.com/users/spotinst/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spotinst/terraform","description":"Terraform is a tool for building, changing, and combining infrastructure safely and efficiently.","fork":true,"url":"https://api.github.com/repos/spotinst/terraform","forks_url":"https://api.github.com/repos/spotinst/terraform/forks","keys_url":"https://api.github.com/repos/spotinst/terraform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spotinst/terraform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spotinst/terraform/teams","hooks_url":"https://api.github.com/repos/spotinst/terraform/hooks","issue_events_url":"https://api.github.com/repos/spotinst/terraform/issues/events{/number}","events_url":"https://api.github.com/repos/spotinst/terraform/events","assignees_url":"https://api.github.com/repos/spotinst/terraform/assignees{/user}","branches_url":"https://api.github.com/repos/spotinst/terraform/branches{/branch}","tags_url":"https://api.github.com/repos/spotinst/terraform/tags","blobs_url":"https://api.github.com/repos/spotinst/terraform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spotinst/terraform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spotinst/terraform/git/refs{/sha}","trees_url":"https://api.github.com/repos/spotinst/terraform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spotinst/terraform/statuses/{sha}","languages_url":"https://api.github.com/repos/spotinst/terraform/languages","stargazers_url":"https://api.github.com/repos/spotinst/terraform/stargazers","contributors_url":"https://api.github.com/repos/spotinst/terraform/contributors","subscribers_url":"https://api.github.com/repos/spotinst/terraform/subscribers","subscription_url":"https://api.github.com/repos/spotinst/terraform/subscription","commits_url":"https://api.github.com/repos/spotinst/terraform/commits{/sha}","git_commits_url":"https://api.github.com/repos/spotinst/terraform/git/commits{/sha}","comments_url":"https://api.github.com/repos/spotinst/terraform/comments{/number}","issue_comment_url":"https://api.github.com/repos/spotinst/terraform/issues/comments{/number}","contents_url":"https://api.github.com/repos/spotinst/terraform/contents/{+path}","compare_url":"https://api.github.com/repos/spotinst/terraform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spotinst/terraform/merges","archive_url":"https://api.github.com/repos/spotinst/terraform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spotinst/terraform/downloads","issues_url":"https://api.github.com/repos/spotinst/terraform/issues{/number}","pulls_url":"https://api.github.com/repos/spotinst/terraform/pulls{/number}","milestones_url":"https://api.github.com/repos/spotinst/terraform/milestones{/number}","notifications_url":"https://api.github.com/repos/spotinst/terraform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spotinst/terraform/labels{/name}","releases_url":"https://api.github.com/repos/spotinst/terraform/releases{/id}","deployments_url":"https://api.github.com/repos/spotinst/terraform/deployments","created_at":"2016-02-04T21:43:06Z","updated_at":"2016-02-04T21:43:13Z","pushed_at":"2016-02-04T22:05:26Z","git_url":"git://github.com/spotinst/terraform.git","ssh_url":"git@github.com:spotinst/terraform.git","clone_url":"https://github.com/spotinst/terraform.git","svn_url":"https://github.com/spotinst/terraform","homepage":"http://www.terraform.io","size":38924,"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":"5f1afa3e102b7469371d8433697ed6e0024cdbef","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}","deployments_url":"https://api.github.com/repos/hashicorp/terraform/deployments","created_at":"2014-03-13T22:25:48Z","updated_at":"2016-02-04T19:12:56Z","pushed_at":"2016-02-04T21:49:38Z","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":62740,"stargazers_count":3937,"watchers_count":3937,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1036,"mirror_url":null,"open_issues_count":898,"forks":1036,"open_issues":898,"watchers":3937,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/5001"},"html":{"href":"https://github.com/hashicorp/terraform/pull/5001"},"issue":{"href":"https://api.github.com/repos/hashicorp/terraform/issues/5001"},"comments":{"href":"https://api.github.com/repos/hashicorp/terraform/issues/5001/comments"},"review_comments":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/5001/comments"},"review_comment":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/5001/commits"},"statuses":{"href":"https://api.github.com/repos/hashicorp/terraform/statuses/c2d7acb826f29fe09b2e2f9734f26f0693312e8d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":2474,"deletions":0,"changed_files":11}}