{"action":"created","issue":{"url":"https://api.github.com/repos/skytap/terraform-provider-skytap/issues/46","repository_url":"https://api.github.com/repos/skytap/terraform-provider-skytap","labels_url":"https://api.github.com/repos/skytap/terraform-provider-skytap/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/skytap/terraform-provider-skytap/issues/46/comments","events_url":"https://api.github.com/repos/skytap/terraform-provider-skytap/issues/46/events","html_url":"https://github.com/skytap/terraform-provider-skytap/issues/46","id":375600463,"node_id":"MDU6SXNzdWUzNzU2MDA0NjM=","number":46,"title":"Resource busy during vm creation, thrown error","user":{"login":"pegerto","id":261659,"node_id":"MDQ6VXNlcjI2MTY1OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/261659?v=4","gravatar_id":"","url":"https://api.github.com/users/pegerto","html_url":"https://github.com/pegerto","followers_url":"https://api.github.com/users/pegerto/followers","following_url":"https://api.github.com/users/pegerto/following{/other_user}","gists_url":"https://api.github.com/users/pegerto/gists{/gist_id}","starred_url":"https://api.github.com/users/pegerto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pegerto/subscriptions","organizations_url":"https://api.github.com/users/pegerto/orgs","repos_url":"https://api.github.com/users/pegerto/repos","events_url":"https://api.github.com/users/pegerto/events{/privacy}","received_events_url":"https://api.github.com/users/pegerto/received_events","type":"User","site_admin":false},"labels":[{"id":1064934526,"node_id":"MDU6TGFiZWwxMDY0OTM0NTI2","url":"https://api.github.com/repos/skytap/terraform-provider-skytap/labels/bug","name":"bug","color":"bf0b4a","default":true}],"state":"open","locked":false,"assignee":{"login":"pegerto","id":261659,"node_id":"MDQ6VXNlcjI2MTY1OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/261659?v=4","gravatar_id":"","url":"https://api.github.com/users/pegerto","html_url":"https://github.com/pegerto","followers_url":"https://api.github.com/users/pegerto/followers","following_url":"https://api.github.com/users/pegerto/following{/other_user}","gists_url":"https://api.github.com/users/pegerto/gists{/gist_id}","starred_url":"https://api.github.com/users/pegerto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pegerto/subscriptions","organizations_url":"https://api.github.com/users/pegerto/orgs","repos_url":"https://api.github.com/users/pegerto/repos","events_url":"https://api.github.com/users/pegerto/events{/privacy}","received_events_url":"https://api.github.com/users/pegerto/received_events","type":"User","site_admin":false},"assignees":[{"login":"pegerto","id":261659,"node_id":"MDQ6VXNlcjI2MTY1OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/261659?v=4","gravatar_id":"","url":"https://api.github.com/users/pegerto","html_url":"https://github.com/pegerto","followers_url":"https://api.github.com/users/pegerto/followers","following_url":"https://api.github.com/users/pegerto/following{/other_user}","gists_url":"https://api.github.com/users/pegerto/gists{/gist_id}","starred_url":"https://api.github.com/users/pegerto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pegerto/subscriptions","organizations_url":"https://api.github.com/users/pegerto/orgs","repos_url":"https://api.github.com/users/pegerto/repos","events_url":"https://api.github.com/users/pegerto/events{/privacy}","received_events_url":"https://api.github.com/users/pegerto/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-10-30T17:11:49Z","updated_at":"2018-10-31T23:47:05Z","closed_at":null,"author_association":"COLLABORATOR","body":"Hi there,\r\n\r\nSDK should retry operations when the update can be performed due to the status of the VM.\r\n\r\n```\r\n\r\ndata \"skytap_template\" \"empty\" {\r\n  \"name\" = \"empty_template\"\r\n}\r\n\r\nresource \"skytap_environment\" \"my_new_environment\" {\r\n   \"name\" = \"from_empty\"\r\n   \"template_id\" = \"${data.skytap_template.empty.id}\"\r\n   \"description\" = \"Empty enviroment\"\r\n}\r\n\r\nresource \"skytap_network\" \"dev_network\" {\r\n  \"environment_id\" = \"${skytap_environment.my_new_environment.id}\"\r\n  \"name\" = \"dev_network\"\r\n  \"domain\" = \"dev.skytap.io\"\r\n  \"subnet\" = \"10.0.3.0/24\"\r\n}\r\n\r\nresource \"skytap_vm\" \"dev_vm\" {\r\n  \"environment_id\" = \"${skytap_environment.my_new_environment.id}\"\r\n  \"template_id\" = \"1442921\"\r\n  \"vm_id\" = \"36372770\"\r\n  \"name\" = \"dev_vm\"\r\n}\r\n\r\nresource \"skytap_vm\" \"dev_vm2\" {\r\n  \"environment_id\" = \"${skytap_environment.my_new_environment.id}\"\r\n  \"template_id\" = \"1442921\"\r\n  \"vm_id\" = \"36372770\"\r\n  \"name\" = \"dev_vm\"\r\n}\r\n```\r\n\r\nThe configuration yield errors due to the update operation required during creation.\r\n```\r\n* skytap_vm.dev_vm2: error updating vm (37531645): PUT https://cloud.skytap.com/v2/configurations/40070122/vms/37531645: 423 (request \"29b60ecd-1442-44f7-940d-016ace7e8544\") The operation could not be completed because the resource was busy. Try again in a few moments.\r\n```"},"comment":{"url":"https://api.github.com/repos/skytap/terraform-provider-skytap/issues/comments/434885209","html_url":"https://github.com/skytap/terraform-provider-skytap/issues/46#issuecomment-434885209","issue_url":"https://api.github.com/repos/skytap/terraform-provider-skytap/issues/46","id":434885209,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDg4NTIwOQ==","user":{"login":"ja6a","id":2913783,"node_id":"MDQ6VXNlcjI5MTM3ODM=","avatar_url":"https://avatars3.githubusercontent.com/u/2913783?v=4","gravatar_id":"","url":"https://api.github.com/users/ja6a","html_url":"https://github.com/ja6a","followers_url":"https://api.github.com/users/ja6a/followers","following_url":"https://api.github.com/users/ja6a/following{/other_user}","gists_url":"https://api.github.com/users/ja6a/gists{/gist_id}","starred_url":"https://api.github.com/users/ja6a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ja6a/subscriptions","organizations_url":"https://api.github.com/users/ja6a/orgs","repos_url":"https://api.github.com/users/ja6a/repos","events_url":"https://api.github.com/users/ja6a/events{/privacy}","received_events_url":"https://api.github.com/users/ja6a/received_events","type":"User","site_admin":false},"created_at":"2018-10-31T23:47:05Z","updated_at":"2018-10-31T23:47:05Z","author_association":"COLLABORATOR","body":"Have you tried this against the latest PRs. It might have been fixed. "}}
{"actor":{"display_login":"ja6a"}}