Data Source: azurestack_subnet

Use this data source to access the properties of an Azure Subnet located within a Virtual Network.

Example Usage

data "azurestack_subnet" "test" {
  name                 = "backend"
  virtual_network_name = "production"
  resource_group_name  = "networking"
}

output "subnet_id" {
  value = data.azurestack_subnet.test.id
}

Argument Reference

Attributes Reference