expressroute

claranet/expressroute/azurerm

Terraform Module HCL AZURERM

Terraform module for Azure ExpressRoute link

Install
module "expressroute" {
source = "claranet/expressroute/azurerm"
version = "8.0.2"
}
plain text: /constructs/tfmod-claranet-expressroute-azurerm/install.txt
⭐ Source on GitHub 📦 Registry page
README

Azure ExpressRoute ![Changelog](CHANGELOG.md) ![Notice](NOTICE) ![Apache V2 License](LICENSE) ![OpenTofu Registry](https://search.opentofu.org/module/claranet/expressroute/azurerm/) This module creates an Azure ExpressRoute Circuit. When your Azure ExpressRoute Circuit is provisionned, you can create an Azure ExpressRoute Circuit Peering. If you configure a Private Peering Circuit, you can deploy an Azure Virtual Network Gateway. Global versioning rule for Claranet Azure modules | Module version | Terraform version | OpenTofu version | AzureRM version | | -------------- | ----------------- | ---------------- | --------------- | | >= 8.x.x | Unverified | 1.8.x | >= 4.0 | | >= 7.x.x | 1.3.x | | >= 3.0 | | >= 6.x.x | 1.x | | >= 3.0 | | >= 5.x.x | 0.15.x | | >= 2.0 | | >= 4.x.x | 0.13.x / 0.14

Inputs (45)
NameTypeDescriptionDefault
environmentstringName of application's environment. required
service_provider_namestringThe name of the ExpressRoute [Service Provider](https://docs.microsoft.com/en-us required
stackstringName of application's stack. required
locationstringAzure location. required
circuit_peeringslist(object({ peering_typeConfiguration block of Private, Public and Microsoft ExpressRoute Circuit Peerin required
client_namestringName of client. required
location_shortstringShort string for Azure location. required
virtual_network_namestringVirtual network name. required
circuit_peering_enabledboolEnable or disable Express Route Circuit Peering configuration. (Should be disabl required
logs_destinations_idslist(string)List of destination resources IDs for logs diagnostic destination. Can be `Stora required
resource_group_namestringName of the application's resource group. required
peering_locationstringThe name of the peering [location](https://docs.microsoft.com/en-us/azure/expres required
bandwidth_in_mbpsnumberThe Circuit bandwidth in Mbps. required
circuit_custom_namestringCustom ExpressRoute Circuit resource name.null
express_route_skuobject({ tier = string, ExpressRoute SKU. Possible values are [here](https://registry.terraform.io/provi{ "family": "MeteredData", "tier": "
subnet_idstringID of an existing subnet gateway.null
public_ip_allocation_methodstringDefines the allocation method for this IP address. Possible values are `Static` "Static"
logs_metrics_categorieslist(string)Metrics categories to send to destinations.null
name_prefixstringOptional prefix for the generated name.""
custom_diagnostic_settings_namestringCustom name of the diagnostics settings, name will be 'default' if not set."default"
connection_custom_namestringCustom ExpressRoute Gateway Connection resource name.null
circuit_enabledboolWhether to create the ExpressRoute Circuit or not.true
circuit_idstringExpressRoute Circuit ID if not managed by this module.null
remote_vnet_traffic_enabledboolWhether to allow remote VNet traffic flow through the ExpressRoute Gateway.false
public_ip_custom_namestringCustom public IP resource name.null
extra_tagsmap(string)Extra tags to add.{}
circuit_extra_tagsmap(string)Extra tags to add for ExpressRoute Circuit resource.{}
subnet_default_outbound_access_enabledboolWhether to allow default outbound traffic from the subnet.false
default_tags_enabledboolOption to enable or disable default tags.true
public_ip_extra_tagsmap(string)Extra tags to add for public IP resource.{}
subnet_cidrslist(string)The address prefix list to use for the subnet.null
gateway_enabledboolEnable or disable creation of the Virtual Network Gateway.true
circuit_connectedboolWhether the ExpressRoute Circuit is connected or not.true
… and 5 more inputs
Outputs (14)
module_diagnostic_settings — Diagnostic settings module output.
circuit_id — The ID of the ExpressRoute Circuit.
circuit_service_key — The string needed by the service provider to provision the ExpressRoute Circuit.
peering_azure_asn — ASN (Autonomous System Number) used by Azure for BGP Peering.
resource — ExpressRoute Gateway resource object.
resource_circuit — ExpressRoute Circuit resource object.
resource_circuit_peering — ExpressRoute Circuit Peering resource object.
resource_public_ip — Public IP resource object.
module_subnet — Subnet module output.
circuit_name — Name of the ExpressRoute Circuit.
circuit_service_provider_provisioning_state — The ExpressRoute Circuit provisioning state from your chosen service provider.
subnet_id — ID of the Gateway Subnet.
gateway_id — ID of the ExpressRoute Gateway.
resource_gateway_connection — ExpressRoute Gateway Connection resource object.
Resources (5)
azurerm_express_route_circuitazurerm_express_route_circuit_peeringazurerm_public_ipazurerm_virtual_network_gatewayazurerm_virtual_network_gateway_connection
Details
FrameworkTerraform Module
LanguageHCL
Version8.0.2
Cloud AZURERM
★ Stars1
Forks1
Total downloads4.2k
Inputs45
Outputs14
Resources5
Examples1
LicenseApache-2.0
Namespaceclaranet
Updated