Skip to content

Instantly share code, notes, and snippets.

@timwebster9
Created June 20, 2018 15:37
Show Gist options
  • Save timwebster9/0b71442e8e04c6fcfc03f586b3df7aad to your computer and use it in GitHub Desktop.
Save timwebster9/0b71442e8e04c6fcfc03f586b3df7aad to your computer and use it in GitHub Desktop.
empty error message on AKS cluster when VM size is incorrect/not allowed
2018-06-20T16:33:00.645+0100 [DEBUG] plugin.terraform-provider-azurerm_v1.7.0_x4: "code": "BadRequest",
2018-06-20T16:33:00.645+0100 [DEBUG] plugin.terraform-provider-azurerm_v1.7.0_x4: "message": "The VM size of AgentPoolProfile:default is not allowed in your subscription in location 'uksouth'. The available VM sizes are Standard_A1_v2,Standard_A2_v2,Standard_A2m_v2,Standard_A4_v2,Standard_A4m_v2,Standard_A8_v2,Standard_A8m_v2,Standard_B2ms,Standard_B2s,Standard_B4ms,Standard_B8ms,Standard_D16_v3,Standard_D16s_v3,Standard_D2_v3,Standard_D2s_v3,Standard_D32_v3,Standard_D32s_v3,Standard_D4_v3,Standard_D4s_v3,Standard_D64_v3,Standard_D64s_v3,Standard_D8_v3,Standard_D8s_v3,Standard_E16_v3,Standard_E16s_v3,Standard_E2_v3,Standard_E2s_v3,Standard_E32-16s_v3,Standard_E32-8s_v3,Standard_E32_v3,Standard_E32s_v3,Standard_E4_v3,Standard_E4s_v3,Standard_E64-16s_v3,Standard_E64-32s_v3,Standard_E64_v3,Standard_E64s_v3,Standard_E8_v3,Standard_E8s_v3,Standard_F16s_v2,Standard_F2s_v2,Standard_F32s_v2,Standard_F4s_v2,Standard_F64s_v2,Standard_F72s_v2,Standard_F8s_v2,Standard_G1,Standard_G2,Standard_G3,Standard_G4,Standard_G5,Standard_GS1,Standard_GS2,Standard_GS3,Standard_GS4,Standard_GS4-4,Standard_GS4-8,Standard_GS5,Standard_GS5-16,Standard_GS5-8,Standard_H16,Standard_H16m,Standard_H16mr,Standard_H16r,Standard_H8,Standard_H8m,Standard_L16s,Standard_L32s,Standard_L4s,Standard_L8s,Standard_M128-32ms,Standard_M128-64ms,Standard_M128ms,Standard_M128s,Standard_M64-16ms,Standard_M64-32ms,Standard_M64ms,Standard_M64s,Standard_NC12,Standard_NC12s_v3,Standard_NC24,Standard_NC24r,Standard_NC24rs_v3,Standard_NC24s_v3,Standard_NC6,Standard_NC6s_v3,Standard_NV12,Standard_NV24,Standard_NV6"
2018-06-20T16:33:00.645+0100 [DEBUG] plugin.terraform-provider-azurerm_v1.7.0_x4: }
2018/06/20 16:33:00 [TRACE] root.default: eval: *terraform.EvalWriteState
2018/06/20 16:33:00 [DEBUG] plugin: waiting for all plugin processes to complete...
Error: Error applying plan:
1 error(s) occurred:
* module.default.azurerm_kubernetes_cluster.aks_cluster: 1 error(s) occurred:
* azurerm_kubernetes_cluster.aks_cluster: containerservice.ManagedClustersClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="" Message=""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment