How do I create more than three up to five public address using terraform on a personal subscription?

EDWARD REYESARROYO 5 Reputation points
2023-05-21T21:30:17.0833333+00:00

Hello I am working on a personal project fand I am unable to create three or more public addresses do I ask for an increase on quota or modify the code, I still need five vms thought.

│ Error: creating/updating Public Ip Address: (Name "publicip2" / Resource Group "RG001"): network.PublicIPAddressesClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="PublicIPCountLimitReached" Message="Cannot create more than 3 public IP addresses for this subscription in this region." Details=[]
│
│   with azurerm_public_ip.public_ip[1],
│   on main.tf line 42, in resource "azurerm_public_ip" "public_ip":
│   42: resource "azurerm_public_ip" "public_ip" {

Any advise will be greatly appreciated. 
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,579 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,307 questions
{count} votes

1 answer

Sort by: Most helpful
  1. risolis 8,711 Reputation points
    2023-05-22T01:37:29.99+00:00

    Hello @EDWARD REYESARROYO

    Thank you for posting your concern on this community space.

    I was looking at the error log gathered, and I wonder if you have tried the following step down below:

    User's image

    I hope that might be useful for you.

    Looking forward to hearing from you

    Cheers,

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments