-
-
Notifications
You must be signed in to change notification settings - Fork 46
/
variables.tf
85 lines (71 loc) · 2.37 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
variable "create_resource_group" {
description = "Whether to create resource group and use it for all networking resources"
default = true
}
variable "resource_group_name" {
description = "A container that holds related resources for an Azure solution"
default = "rg-demo-westeurope-01"
}
variable "location" {
description = "The location/region to keep all your network resources. To get the list of all locations with table format from azure cli, run 'az account list-locations -o table'"
default = "westeurope"
}
variable "vnetwork_name" {
description = "Name of your Azure Virtual Network"
default = "vnet-azure-westeurope-001"
}
variable "vnet_address_space" {
description = "The address space to be used for the Azure virtual network."
default = ["10.0.0.0/16"]
}
variable "create_ddos_plan" {
description = "Create an ddos plan - Default is false"
default = false
}
variable "ddos_plan_name" {
description = "The name of AzureNetwork DDoS Protection Plan"
default = "azureddosplan01"
}
variable "dns_servers" {
description = "List of dns servers to use for virtual network"
default = []
}
variable "create_network_watcher" {
description = "Controls if Network Watcher resources should be created for the Azure subscription"
default = true
}
variable "subnets" {
description = "For each subnet, create an object that contain fields"
default = {}
}
variable "gateway_subnet_address_prefix" {
description = "The address prefix to use for the gateway subnet"
default = null
}
variable "firewall_subnet_address_prefix" {
description = "The address prefix to use for the Firewall subnet"
default = null
}
variable "firewall_service_endpoints" {
description = "Service endpoints to add to the firewall subnet"
type = list(string)
default = [
"Microsoft.AzureActiveDirectory",
"Microsoft.AzureCosmosDB",
"Microsoft.EventHub",
"Microsoft.KeyVault",
"Microsoft.ServiceBus",
"Microsoft.Sql",
"Microsoft.Storage",
]
}
variable "gateway_service_endpoints" {
description = "Service endpoints to add to the Gateway subnet"
type = list(string)
default = []
}
variable "tags" {
description = "A map of tags to add to all resources"
type = map(string)
default = {}
}