azurerm_express_route_port

Manages a Express Route Port.

Example Usage

resource "azurerm_resource_group" "example" {
  name     = "example-resources"
  location = "West US"
}

resource "azurerm_express_route_port" "example" {
  name                = "port1"
  resource_group_name = azurerm_resource_group.example.name
  location            = azurerm_resource_group.example.location
  peering_location    = "Airtel-Chennai-CLS"
  bandwidth_in_gbps   = 10
  encapsulation       = "Dot1Q"
}

Arguments Reference

The following arguments are supported:



An identity block supports the following:


A link block supports the following:

Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:


A link block exports the following:

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

Express Route Ports can be imported using the resource id, e.g.

terraform import azurerm_express_route_port.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Network/expressRoutePorts/port1