azurerm_mobile_network_packet_core_data_plane

Manages a Mobile Network Packet Core Data Plane.

Example Usage

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

resource "azurerm_databox_edge_device" "example" {
  name                = "example-device"
  resource_group_name = azurerm_resource_group.example.name
  location            = azurerm_resource_group.example.location

  sku_name = "EdgeP_Base-Standard"
}

resource "azurerm_mobile_network" "example" {
  name                = "example-mn"
  resource_group_name = azurerm_resource_group.example.name
  location            = azurerm_resource_group.example.location
  mobile_country_code = "001"
  mobile_network_code = "01"
}

resource "azurerm_mobile_network_packet_core_control_plane" "example" {
  name                              = "example-mnpccp"
  resource_group_name               = azurerm_resource_group.example.name
  location                          = azurerm_resource_group.example.location
  sku                               = "G0"
  mobile_network_id                 = azurerm_mobile_network.example.id
  control_plane_access_name         = "default-interface"
  control_plane_access_ipv4_address = "192.168.1.199"
  control_plane_access_ipv4_gateway = "192.168.1.1"
  control_plane_access_ipv4_subnet  = "192.168.1.0/25"

  platform {
    type           = "AKS-HCI"
    edge_device_id = azurerm_databox_edge_device.example.id
  }
}

resource "azurerm_mobile_network_packet_core_data_plane" "example" {
  name                                        = "example-mnpcdp"
  mobile_network_packet_core_control_plane_id = azurerm_mobile_network_packet_core_control_plane.example.id
  location                                    = azurerm_resource_group.example.location
  user_plane_access_name                      = "default-interface"
  user_plane_access_ipv4_address              = "192.168.1.199"
  user_plane_access_ipv4_gateway              = "192.168.1.1"
  user_plane_access_ipv4_subnet               = "192.168.1.0/25"

  tags = {
    key = "value"
  }

}

Arguments Reference

The following arguments are supported:

Attributes Reference

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

Timeouts

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

Import

Mobile Network Packet Core Data Plane can be imported using the resource id, e.g.

terraform import azurerm_mobile_network_packet_core_data_plane.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/packetCoreControlPlane1/packetCoreDataPlanes/packetCoreDataPlane1