hashicorp / terraform-provider-azurerm

Terraform provider for Azure Resource Manager
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs
Mozilla Public License 2.0
4.6k stars 4.64k forks source link

Support for Expressroute Direct circuits #11155

Closed bardahlm closed 3 years ago

bardahlm commented 3 years ago

Community Note

Description

Setting up Expressroute Direct circuits require some other parameters than circuits using a service provider:

New or Affected Resource(s)

Potential Terraform Configuration

resource "azurerm_express_route_circuit" "example" {
  name                  = "expressRoute1"
  resource_group_name   = azurerm_resource_group.example.name
  location              = azurerm_resource_group.example.location
  service_provider_name = "Microsoft.Network"
  peering_location      = "Silicon Valley"
  bandwidth_in_Gbps     = 1
  express_route_port_id = "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/exprtTest/providers/Microsoft.Network/expressRoutePorts/er-exampleport"

  sku {
    tier   = "Standard"
    family = "MeteredData"
  }

  tags = {
    environment = "Production"
  }
}

References

ArielRam99 commented 3 years ago

@tombuildsstuff Is there work being done on this issue in the background?

LaurentLesle commented 3 years ago

Is there a way to fast track this resource?

LaurentLesle commented 3 years ago

Instead of creating a new resource why not extending the existing azurerm_express_route_circuit

ArielRam99 commented 3 years ago

Looks like the azurerm_express_route_circuit has an arguement for express_route_port_id.

Here's the link : https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/express_route_circuit#express_route_port_id

bardahlm commented 3 years ago

Reading the changelogs there seems to be some progress here! New features in 2.65 and 2.66:

2.65:

2.66:

bardahlm commented 3 years ago

Solved in 2.65

github-actions[bot] commented 3 years ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.