How to create Azure Private Subnet with Terraform

tomoaki okazaki 0 Reputation points
2024-03-27T14:56:19.7633333+00:00

I would like to know how to create an Azure Private Subnet using Terraform.

I looked at the following page, but the information is not there.

https://learn.microsoft.com/en-us/azure/virtual-network/quick-create-terraform?tabs=azure-cli

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,140 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deepanshu katara 4,665 Reputation points
    2024-03-27T16:58:28.3+00:00

    Hi ,

    If you see the code in that link itself then you can find that there is resource block to create subnets , please find the attached image for ref

    User's image

    Kindly accept answer if it helps , Thanks!