Files
infrastructure/terraform/modules/azure/networking/variables.tf
2026-02-09 21:51:46 -08:00

59 lines
1.3 KiB
HCL

# Azure Networking Module Variables
variable "resource_group_name" {
description = "Name of the resource group"
type = string
}
variable "location" {
description = "Azure region"
type = string
}
variable "vnet_name" {
description = "Name of the virtual network"
type = string
}
variable "address_space" {
description = "Address space for the virtual network"
type = list(string)
}
variable "subnets" {
description = "Map of subnets to create"
type = map(object({
name = string
address_prefixes = list(string)
service_endpoints = list(string)
}))
default = {}
}
variable "network_security_groups" {
description = "Map of network security groups to create"
type = map(object({
name = string
subnet_key = string
security_rules = list(object({
name = string
priority = number
direction = string
access = string
protocol = string
source_port_range = string
destination_port_range = string
source_address_prefix = string
destination_address_prefix = string
}))
}))
default = {}
}
variable "tags" {
description = "Tags to apply to resources"
type = map(string)
default = {}
}