main.exr.circuit.tf (17 lines of code) (raw):
# Create the Express Route Circuit
resource "azurerm_express_route_circuit" "this" {
location = var.location
name = var.name
resource_group_name = var.resource_group_name
allow_classic_operations = var.allow_classic_operations
authorization_key = var.authorization_key
bandwidth_in_gbps = var.bandwidth_in_gbps
bandwidth_in_mbps = var.bandwidth_in_mbps
express_route_port_id = var.express_route_port_resource_id
peering_location = var.peering_location
service_provider_name = var.service_provider_name
tags = local.exr_circuit_tags
sku {
family = var.sku.family
tier = var.sku.tier
}
}