generated from cyber-scot/terraform-module-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
82 lines (72 loc) · 2.18 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
variable "description" {
description = "The description attached to AVNM"
type = string
default = null
}
variable "dns_forwarding_rulesets" {
type = list(object(
{
create_ruleset = optional(bool, true)
create_rules = optional(bool, true)
name = string
outbound_endpoint_ids = optional(list(string))
vnet_link_name = optional(string)
metadata = optional(map(string))
rules = optional(list(object({
name = string
domain_name = string
enabled = optional(bool, true)
metadata = optional(map(string))
target_dns_servers = list(object({
ip_address = optional(string)
port = optional(number)
}))
forwarding_port = optional(number)
forwarding_protocol = optional(string, "TCP")
})))
}))
description = "The list of DNS forwarding rulesets"
default = []
}
variable "inbound_endpoint_ip_configurations" {
type = list(object(
{
private_ip_allocation_method = optional(string, "Dynamic")
subnet_id = string
}))
description = "The list of inbound endpoint ip configurations"
}
variable "inbound_endpoint_name" {
type = string
description = "The inbound endpoint name, if you want to set it"
default = null
}
variable "location" {
description = "The location where resources will be created."
type = string
}
variable "name" {
type = string
description = "The name of the AVNM instance"
}
variable "outbound_endpoint_name" {
type = string
description = "The outbound endpoint name, if you want to set it"
default = null
}
variable "outbound_endpoint_subnet_id" {
type = string
description = "The ID of the subnet to be associated with the outbound endpoint"
}
variable "rg_name" {
description = "The name of the resource group."
type = string
}
variable "tags" {
description = "A map of tags to add to all resources."
type = map(string)
}
variable "vnet_id" {
type = string
description = "The ID of the VNet to be associated with the private resolver"
}