vnet

claranet/vnet/azurerm

Terraform Module HCL AZURERM

Terraform module for Azure Virtual Network (vnet)

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

Azure Virtual Network ![Changelog](CHANGELOG.md) ![Notice](NOTICE) ![Apache V2 License](LICENSE) ![OpenTofu Registry](https://search.opentofu.org/module/claranet/vnet/azurerm/) Common Azure module to generate an Azure virtual network. 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.x | | >= 2.0 | | >= 3.x.x | 0.12.x | | >= 2.0 | | >= 2.x.x | 0.12.x | | < 2.0 | | < 2.x.x | 0.11.x | | < 2.0 | Contributing If you want to contribute to this repository, feel free to use our pre-com

Inputs (28)
NameTypeDescriptionDefault
locationstringAzure region to use. required
cidrslist(string)The address spaces that is used by the virtual network. required
client_namestringClient name/account used in naming. required
stackstringProject stack name. required
location_shortstringShort string for Azure location. required
environmentstringProject environment. required
resource_group_namestringResource group name. required
flow_log_locationstringThe location where the Network Watcher Flow Log resides. Changing this forces a null
custom_namestringOptional custom virtual network name.""
flow_log_retention_policy_enabledboolBoolean flag to enable/disable retention.true
log_analytics_workspace_guidstringThe resource GUID of the attached workspace.null
log_analytics_workspace_locationstringThe location of the attached workspace.null
default_tags_enabledboolOption to enable or disable default tags.true
dns_serverslist(string)List of IP addresses of DNS servers.[]
flow_log_logging_enabledboolEnable Network Flow Logging.true
network_watcher_namestringThe name of the Network Watcher. Changing this forces a new resource to be creatnull
network_watcher_resource_group_namestringThe name of the Resource Group in which the Network Watcher was deployed. Changinull
log_analytics_workspace_idstringThe resource ID of the attached workspace.null
name_suffixstringOptional suffix for the generated name.""
custom_network_watcher_flow_log_namestringNetwork watcher flow log name.null
use_existing_network_watcherboolWhether to use an existing Network Watcher or not? Useful when the Network Watchtrue
flow_log_storage_account_idstringNetwork watcher flow log storage account ID.null
flow_log_retention_policy_daysnumberThe number of days to retain flow log records.31
flow_log_traffic_analytics_enabledboolBoolean flag to enable/disable traffic analytics.true
flow_log_traffic_analytics_interval_in_minutesnumberHow frequently service should do flow analytics in minutes.10
name_prefixstringOptional prefix for the generated name.""
extra_tagsmap(string)Extra tags to add.{}
Outputs (7)
network_watcher_flow_log_resource — Network watcher flow log resource object.
resource — Virtual network resource object.
id — Virtual network ID.
location — Virtual network location.
name — Virtual network name.
address_space — Virtual network address space.
network_watcher_flow_log_id — Network watcher flow log ID.
Resources (2)
azurerm_network_watcher_flow_logazurerm_virtual_network
Details
FrameworkTerraform Module
LanguageHCL
Version8.1.2
Cloud AZURERM
★ Stars1
Forks14
Total downloads275.6k
Inputs28
Outputs7
Resources2
Examples1
LicenseApache-2.0
Namespaceclaranet
Updated