{"action":"closed","issue":{"url":"https://api.github.com/repos/Badgerati/Fogg/issues/22","repository_url":"https://api.github.com/repos/Badgerati/Fogg","labels_url":"https://api.github.com/repos/Badgerati/Fogg/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/Badgerati/Fogg/issues/22/comments","events_url":"https://api.github.com/repos/Badgerati/Fogg/issues/22/events","html_url":"https://github.com/Badgerati/Fogg/issues/22","id":230436804,"number":22,"title":"During validation, ensure the VM sizes core count don't exceed the Max Core limit","user":{"login":"Badgerati","id":1483395,"avatar_url":"https://avatars0.githubusercontent.com/u/1483395?v=3","gravatar_id":"","url":"https://api.github.com/users/Badgerati","html_url":"https://github.com/Badgerati","followers_url":"https://api.github.com/users/Badgerati/followers","following_url":"https://api.github.com/users/Badgerati/following{/other_user}","gists_url":"https://api.github.com/users/Badgerati/gists{/gist_id}","starred_url":"https://api.github.com/users/Badgerati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Badgerati/subscriptions","organizations_url":"https://api.github.com/users/Badgerati/orgs","repos_url":"https://api.github.com/users/Badgerati/repos","events_url":"https://api.github.com/users/Badgerati/events{/privacy}","received_events_url":"https://api.github.com/users/Badgerati/received_events","type":"User","site_admin":false},"labels":[{"id":585107936,"url":"https://api.github.com/repos/Badgerati/Fogg/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":595459328,"url":"https://api.github.com/repos/Badgerati/Fogg/labels/in-progress","name":"in-progress","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Badgerati/Fogg/milestones/3","html_url":"https://github.com/Badgerati/Fogg/milestone/3","labels_url":"https://api.github.com/repos/Badgerati/Fogg/milestones/3/labels","id":2533211,"number":3,"title":"v0.5.0","description":"","creator":{"login":"Badgerati","id":1483395,"avatar_url":"https://avatars0.githubusercontent.com/u/1483395?v=3","gravatar_id":"","url":"https://api.github.com/users/Badgerati","html_url":"https://github.com/Badgerati","followers_url":"https://api.github.com/users/Badgerati/followers","following_url":"https://api.github.com/users/Badgerati/following{/other_user}","gists_url":"https://api.github.com/users/Badgerati/gists{/gist_id}","starred_url":"https://api.github.com/users/Badgerati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Badgerati/subscriptions","organizations_url":"https://api.github.com/users/Badgerati/orgs","repos_url":"https://api.github.com/users/Badgerati/repos","events_url":"https://api.github.com/users/Badgerati/events{/privacy}","received_events_url":"https://api.github.com/users/Badgerati/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"open","created_at":"2017-05-20T21:02:34Z","updated_at":"2017-05-22T19:58:33Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-05-22T15:39:36Z","updated_at":"2017-05-22T19:58:32Z","closed_at":"2017-05-22T19:58:32Z","body":"During validation, ensure the VM sizes core count don't exceed the Max Core limit.\r\n\r\nTo get the max core limit:\r\n\r\n```powershell\r\n(Get-AzureRmVMUsage -Location 'westeurope' | ? { $_.Name.Value -ieq 'cores' }).CurrentValue\r\n(Get-AzureRmVMUsage -Location 'westeurope' | ? { $_.Name.Value -ieq 'cores' }).Limit\r\n```\r\n\r\nTo get the number of cores a VM size type requires:\r\n\r\n```powershell\r\n(Get-AzureRmVMSize -Location 'westeurope' | ? { $_.Name -ieq 'Standard_DS5_v2' }).NumberOfCores\r\n```\r\n\r\nIf what is about to be deployed exceeds the limit during initial validation, fail. So we don't have to deploy everything and wait hours before it fails."}}
{"actor":{"display_login":"Badgerati"}}