Initial commit: add .gitignore and README
This commit is contained in:
58
terraform/modules/azure/networking/variables.tf
Normal file
58
terraform/modules/azure/networking/variables.tf
Normal file
@@ -0,0 +1,58 @@
|
||||
# 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 = {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user