Error: waiting for creation of Linux Virtual Machine

Manohar Majili 20 Reputation points
2024-02-29T17:31:15.1166667+00:00

│ 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\main.tf 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,808 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Jackson Martins 10,151 Reputation points MVP
    2024-02-29T17:51:29.5266667+00:00

    Hi @Manohar Majili

    This could likely refer to specific networking features requested for the VM, such as accelerated networking or IPv6 support. These features may not be available or supported in all Azure regions, VM sizes, or for all VM configurations.

    You can try a different Azure region: Availability of specific VM sizes and features may vary between regions. If possible, consider deploying your VM in a different Azure region where the restrictions you specified can be more easily met.

    Get in touch if you need more help with this issue.

    --please don't forget to "[Accept the answer]" if the reply is helpful--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.