azurerm_express_route_circuit_authorization
Manages an ExpressRoute Circuit Authorization.
Example Usage
resource "azurerm_resource_group" "test" { name = "exprtTest" location = "West US" } resource "azurerm_express_route_circuit" "test" { name = "expressRoute1" resource_group_name = "${azurerm_resource_group.test.name}" location = "${azurerm_resource_group.test.location}" service_provider_name = "Equinix" peering_location = "Silicon Valley" bandwidth_in_mbps = 50 sku { tier = "Standard" family = "MeteredData" } allow_classic_operations = false tags { environment = "Production" } } resource "azurerm_express_route_circuit_authorization" "test" { name = "exampleERCAuth" express_route_circuit_name = "${azurerm_express_route_circuit.test.name}" resource_group_name = "${azurerm_resource_group.test.name}" }
Argument Reference
The following arguments are supported:
-
name
- (Required) The name of the ExpressRoute circuit. Changing this forces a new resource to be created. -
resource_group_name
- (Required) The name of the resource group in which to create the ExpressRoute circuit. Changing this forces a new resource to be created. -
express_route_circuit_name
- (Required) The name of the Express Route Circuit in which to create the Authorization.
Attributes Reference
The following attributes are exported:
-
id
- The Resource ID of the ExpressRoute Circuit Authorization. -
authorization_key
- The Authorization Key. -
authorization_use_status
- The authorization use status.
Import
ExpressRoute Circuit Authorizations can be imported using the resource id
, e.g.
terraform import azurerm_express_route_circuit_authorization.auth1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/expressRouteCircuits/myExpressRoute/authorizations/auth1
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/azurerm/r/express_route_circuit_authorization.html