{"action":"closed","issue":{"url":"https://api.github.com/repos/wOvalle/cloudman-api/issues/25","labels_url":"https://api.github.com/repos/wOvalle/cloudman-api/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/wOvalle/cloudman-api/issues/25/comments","events_url":"https://api.github.com/repos/wOvalle/cloudman-api/issues/25/events","html_url":"https://github.com/wOvalle/cloudman-api/issues/25","id":117620820,"number":25,"title":"create method in aws.js","user":{"login":"wOvalle","id":7854116,"avatar_url":"https://avatars.githubusercontent.com/u/7854116?v=3","gravatar_id":"","url":"https://api.github.com/users/wOvalle","html_url":"https://github.com/wOvalle","followers_url":"https://api.github.com/users/wOvalle/followers","following_url":"https://api.github.com/users/wOvalle/following{/other_user}","gists_url":"https://api.github.com/users/wOvalle/gists{/gist_id}","starred_url":"https://api.github.com/users/wOvalle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wOvalle/subscriptions","organizations_url":"https://api.github.com/users/wOvalle/orgs","repos_url":"https://api.github.com/users/wOvalle/repos","events_url":"https://api.github.com/users/wOvalle/events{/privacy}","received_events_url":"https://api.github.com/users/wOvalle/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"wOvalle","id":7854116,"avatar_url":"https://avatars.githubusercontent.com/u/7854116?v=3","gravatar_id":"","url":"https://api.github.com/users/wOvalle","html_url":"https://github.com/wOvalle","followers_url":"https://api.github.com/users/wOvalle/followers","following_url":"https://api.github.com/users/wOvalle/following{/other_user}","gists_url":"https://api.github.com/users/wOvalle/gists{/gist_id}","starred_url":"https://api.github.com/users/wOvalle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wOvalle/subscriptions","organizations_url":"https://api.github.com/users/wOvalle/orgs","repos_url":"https://api.github.com/users/wOvalle/repos","events_url":"https://api.github.com/users/wOvalle/events{/privacy}","received_events_url":"https://api.github.com/users/wOvalle/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-11-18T16:11:36Z","updated_at":"2015-11-23T02:39:06Z","closed_at":"2015-11-23T02:39:06Z","body":"createmethod should start instances as shown in http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/EC2.html#runInstances-property\r\n\r\nShould receive the configuration object and an array of newInstances see src/models/newInstance) to create .\r\nShould return a promise.\r\nIf promise pass: return array of instance of actionRequest as follows:\r\nIf fails: err object\r\n\r\nactionRequest: [{\r\naction: 'create', \r\nactionProcessed: true/false; \r\nerr: err; \r\nerrMessage: messageError; \r\ninput: inputParameter\r\n}]\r\nEach object in actionRequest array should have the result of each instance. Each input property should contain the instanceId to create.\r\n\r\nThis ticket dependeds in ticket #9 "}}