{"action":"created","comment":{"url":"https://api.github.com/repos/hashicorp/terraform/pulls/comments/31217290","id":31217290,"diff_hunk":"@@ -82,6 +82,11 @@ func resourceCloudStackInstance() *schema.Resource {\n \t\t\t\tOptional: true,\n \t\t\t\tDefault:  false,\n \t\t\t},\n+\t\t\t\"project_name\": &schema.Schema{\n+\t\t\t\tType:     schema.TypeString,\n+\t\t\t\tOptional: true,\n+\t\t\t\tDefault:  nil,","path":"builtin/providers/cloudstack/resource_cloudstack_instance.go","position":7,"original_position":7,"commit_id":"a09afbb4aa8a9b333455193b934d02860b8496fa","original_commit_id":"a09afbb4aa8a9b333455193b934d02860b8496fa","user":{"login":"svanharmelen","id":4171547,"avatar_url":"https://avatars.githubusercontent.com/u/4171547?v=3","gravatar_id":"","url":"https://api.github.com/users/svanharmelen","html_url":"https://github.com/svanharmelen","followers_url":"https://api.github.com/users/svanharmelen/followers","following_url":"https://api.github.com/users/svanharmelen/following{/other_user}","gists_url":"https://api.github.com/users/svanharmelen/gists{/gist_id}","starred_url":"https://api.github.com/users/svanharmelen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svanharmelen/subscriptions","organizations_url":"https://api.github.com/users/svanharmelen/orgs","repos_url":"https://api.github.com/users/svanharmelen/repos","events_url":"https://api.github.com/users/svanharmelen/events{/privacy}","received_events_url":"https://api.github.com/users/svanharmelen/received_events","type":"User","site_admin":false},"body":"Is it possible to move a VM from one project to another? If so the code to do so should be added in the update function of this resource. If not (what I suspect, but I didn't check it) we should add `ForceNew: true` here indicating that when you change the project for this resource, it needs to recreated. ","created_at":"2015-05-28T09:35:59Z","updated_at":"2015-05-28T09:35:59Z","html_url":"https://github.com/hashicorp/terraform/pull/2115#discussion_r31217290","pull_request_url":"https://api.github.com/repos/hashicorp/terraform/pulls/2115","_links":{"self":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/comments/31217290"},"html":{"href":"https://github.com/hashicorp/terraform/pull/2115#discussion_r31217290"},"pull_request":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/2115"}}},"pull_request":{"url":"https://api.github.com/repos/hashicorp/terraform/pulls/2115","id":36365166,"html_url":"https://github.com/hashicorp/terraform/pull/2115","diff_url":"https://github.com/hashicorp/terraform/pull/2115.diff","patch_url":"https://github.com/hashicorp/terraform/pull/2115.patch","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/2115","number":2115,"state":"open","locked":false,"title":"Add project support for Cloudstack Instances","user":{"login":"jalemieux","id":194183,"avatar_url":"https://avatars.githubusercontent.com/u/194183?v=3","gravatar_id":"","url":"https://api.github.com/users/jalemieux","html_url":"https://github.com/jalemieux","followers_url":"https://api.github.com/users/jalemieux/followers","following_url":"https://api.github.com/users/jalemieux/following{/other_user}","gists_url":"https://api.github.com/users/jalemieux/gists{/gist_id}","starred_url":"https://api.github.com/users/jalemieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jalemieux/subscriptions","organizations_url":"https://api.github.com/users/jalemieux/orgs","repos_url":"https://api.github.com/users/jalemieux/repos","events_url":"https://api.github.com/users/jalemieux/events{/privacy}","received_events_url":"https://api.github.com/users/jalemieux/received_events","type":"User","site_admin":false},"body":"Add the ability to specify the project an instance should belong to. This is contingent on https://github.com/xanzy/go-cloudstack/pull/21/files getting merged. ","created_at":"2015-05-28T01:40:23Z","updated_at":"2015-05-28T09:35:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1327d0c6b338027ce955d65c6f6d0bbc038949dd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hashicorp/terraform/pulls/2115/commits","review_comments_url":"https://api.github.com/repos/hashicorp/terraform/pulls/2115/comments","review_comment_url":"https://api.github.com/repos/hashicorp/terraform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/2115/comments","statuses_url":"https://api.github.com/repos/hashicorp/terraform/statuses/a09afbb4aa8a9b333455193b934d02860b8496fa","head":{"label":"jalemieux:master","ref":"master","sha":"a09afbb4aa8a9b333455193b934d02860b8496fa","user":{"login":"jalemieux","id":194183,"avatar_url":"https://avatars.githubusercontent.com/u/194183?v=3","gravatar_id":"","url":"https://api.github.com/users/jalemieux","html_url":"https://github.com/jalemieux","followers_url":"https://api.github.com/users/jalemieux/followers","following_url":"https://api.github.com/users/jalemieux/following{/other_user}","gists_url":"https://api.github.com/users/jalemieux/gists{/gist_id}","starred_url":"https://api.github.com/users/jalemieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jalemieux/subscriptions","organizations_url":"https://api.github.com/users/jalemieux/orgs","repos_url":"https://api.github.com/users/jalemieux/repos","events_url":"https://api.github.com/users/jalemieux/events{/privacy}","received_events_url":"https://api.github.com/users/jalemieux/received_events","type":"User","site_admin":false},"repo":{"id":35638529,"name":"terraform","full_name":"jalemieux/terraform","owner":{"login":"jalemieux","id":194183,"avatar_url":"https://avatars.githubusercontent.com/u/194183?v=3","gravatar_id":"","url":"https://api.github.com/users/jalemieux","html_url":"https://github.com/jalemieux","followers_url":"https://api.github.com/users/jalemieux/followers","following_url":"https://api.github.com/users/jalemieux/following{/other_user}","gists_url":"https://api.github.com/users/jalemieux/gists{/gist_id}","starred_url":"https://api.github.com/users/jalemieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jalemieux/subscriptions","organizations_url":"https://api.github.com/users/jalemieux/orgs","repos_url":"https://api.github.com/users/jalemieux/repos","events_url":"https://api.github.com/users/jalemieux/events{/privacy}","received_events_url":"https://api.github.com/users/jalemieux/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jalemieux/terraform","description":"Terraform is a tool for building, changing, and combining infrastructure safely and efficiently.","fork":true,"url":"https://api.github.com/repos/jalemieux/terraform","forks_url":"https://api.github.com/repos/jalemieux/terraform/forks","keys_url":"https://api.github.com/repos/jalemieux/terraform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jalemieux/terraform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jalemieux/terraform/teams","hooks_url":"https://api.github.com/repos/jalemieux/terraform/hooks","issue_events_url":"https://api.github.com/repos/jalemieux/terraform/issues/events{/number}","events_url":"https://api.github.com/repos/jalemieux/terraform/events","assignees_url":"https://api.github.com/repos/jalemieux/terraform/assignees{/user}","branches_url":"https://api.github.com/repos/jalemieux/terraform/branches{/branch}","tags_url":"https://api.github.com/repos/jalemieux/terraform/tags","blobs_url":"https://api.github.com/repos/jalemieux/terraform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jalemieux/terraform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jalemieux/terraform/git/refs{/sha}","trees_url":"https://api.github.com/repos/jalemieux/terraform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jalemieux/terraform/statuses/{sha}","languages_url":"https://api.github.com/repos/jalemieux/terraform/languages","stargazers_url":"https://api.github.com/repos/jalemieux/terraform/stargazers","contributors_url":"https://api.github.com/repos/jalemieux/terraform/contributors","subscribers_url":"https://api.github.com/repos/jalemieux/terraform/subscribers","subscription_url":"https://api.github.com/repos/jalemieux/terraform/subscription","commits_url":"https://api.github.com/repos/jalemieux/terraform/commits{/sha}","git_commits_url":"https://api.github.com/repos/jalemieux/terraform/git/commits{/sha}","comments_url":"https://api.github.com/repos/jalemieux/terraform/comments{/number}","issue_comment_url":"https://api.github.com/repos/jalemieux/terraform/issues/comments{/number}","contents_url":"https://api.github.com/repos/jalemieux/terraform/contents/{+path}","compare_url":"https://api.github.com/repos/jalemieux/terraform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jalemieux/terraform/merges","archive_url":"https://api.github.com/repos/jalemieux/terraform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jalemieux/terraform/downloads","issues_url":"https://api.github.com/repos/jalemieux/terraform/issues{/number}","pulls_url":"https://api.github.com/repos/jalemieux/terraform/pulls{/number}","milestones_url":"https://api.github.com/repos/jalemieux/terraform/milestones{/number}","notifications_url":"https://api.github.com/repos/jalemieux/terraform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jalemieux/terraform/labels{/name}","releases_url":"https://api.github.com/repos/jalemieux/terraform/releases{/id}","created_at":"2015-05-14T21:42:58Z","updated_at":"2015-05-14T21:43:01Z","pushed_at":"2015-05-28T01:36:41Z","git_url":"git://github.com/jalemieux/terraform.git","ssh_url":"git@github.com:jalemieux/terraform.git","clone_url":"https://github.com/jalemieux/terraform.git","svn_url":"https://github.com/jalemieux/terraform","homepage":"http://www.terraform.io","size":22958,"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":"88f72aaf927659837c04baae80197a0e2cdbec10","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-05-28T09:25:52Z","pushed_at":"2015-05-28T09:14: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":50694,"stargazers_count":2479,"watchers_count":2479,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":455,"mirror_url":null,"open_issues_count":305,"forks":455,"open_issues":305,"watchers":2479,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/2115"},"html":{"href":"https://github.com/hashicorp/terraform/pull/2115"},"issue":{"href":"https://api.github.com/repos/hashicorp/terraform/issues/2115"},"comments":{"href":"https://api.github.com/repos/hashicorp/terraform/issues/2115/comments"},"review_comments":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/2115/comments"},"review_comment":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/2115/commits"},"statuses":{"href":"https://api.github.com/repos/hashicorp/terraform/statuses/a09afbb4aa8a9b333455193b934d02860b8496fa"}}}}