-
Notifications
You must be signed in to change notification settings - Fork 2
/
vars.tf
51 lines (45 loc) · 1.43 KB
/
vars.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
variable "location" {
type = string
description = "The azure location used for azure"
}
variable "project" {
type = string
description = "Three letter project key"
}
variable "stage" {
type = string
description = "Stage for this ressource group"
}
variable "resource_group" {
type = string
description = "Azure Resource Group to use"
}
variable "network_cidr" {
type = string
description = "The address space to use for the complete network"
}
variable "peering_remote_virtual_network_id" {
type = string
default = ""
description = "The id of the remote virtual network to peer to, if required"
}
variable "subnets" {
type = map(object({
cidr = list(string)
service_endpoints = list(string)
service_delegations = map(object({
name = string,
actions = list(string),
}))
private_endpoint_network_policies = string
rules = map(object({
priority = number,
source_address_prefixes = list(string),
source_port_ranges = list(string),
destination_address_prefixes = list(string),
destination_port_ranges = list(string),
protocol = string,
}))
}))
description = "A map of subnets (with a map of rules for each subnet to apply to the network security group of the virtual network for each of the subnets)"
}