Skip to content

rmnobarra/azure-network-terraform-module

Repository files navigation

Terraform Module Test

Terraform Azure Network Module

This Terraform module creates network and subnets.

Usage

module "network" {
  source    = "git::https://github.com/rmnobarra/azure-network-terraform-module.git?ref=v1.0.0"
  vnet_name           = "vnet_well"
  address_space       = ["10.10.0.0/16"]
  location            = "westus3"
  resource_group_name = "meu-grupo-de-recursos"
  subnets = [
    {
      name           = "subnet_a"
      address_prefix = "10.10.1.0/24"
    },
    {
      name           = "subnet_b"
      address_prefix = "10.10.2.0/24"
    },
    {
      name           = "subnet_c"
      address_prefix = "10.10.3.0/24"
    }
  ]
}

Theres a full example in /examples folder.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages