Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (12 sloc) 491 Bytes
resource "azurerm_virtual_network" "terraform_vnet" {
name = "terraform_vnet"
address_space = ["${var.vnet_cidr}"]
location = "${var.location}"
resource_group_name = "${azurerm_resource_group.terraform_rg.name}"
}
resource "azurerm_subnet" "terraform_subnet_1" {
name = "terraform_subnet_1"
address_prefix = "${var.subnet1_cidr}"
virtual_network_name = "${azurerm_virtual_network.terraform_vnet.name}"
resource_group_name = "${azurerm_resource_group.terraform_rg.name}"
}
You can’t perform that action at this time.