Error: waiting for creation of Linux Virtual Machine

Arturo Mendoza Urteaga 21 Reputation points

│ Error: waiting for creation of Linux Virtual Machine: (Name "XXX" / Resource Group "XXXX-dev-000"): Code="OverconstrainedAllocationRequest"
Message="Allocation failed. VM(s) with the following constraints cannot be allocated, because the condition is too restrictive.
Please remove some constraints and try again. Constraints applied are:\n - Networking Constraints (such as Accelerated Networking or IPv6)\n -
VM Size\n - Proximity Placement Group\n"

│ with module.XXX.azurerm_linux_virtual_machine.vm,
│ on .terraform\modules\vm_ledacmxb113\ line 1, in resource "azurerm_linux_virtual_machine" "vm":
│ 1: resource "azurerm_linux_virtual_machine" "vm" {<!-- -->

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,544 questions
0 comments No comments
{count} votes

Accepted answer
  1. deherman-MSFT 35,471 Reputation points Microsoft Employee

    @Arturo Mendoza Urteaga
    This error means that the VM size is not available in the location you are attempting to use. Please try a different VM size or a different location and try again. More information on common error messages can be found here.


    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful