-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
59 lines (49 loc) · 1.6 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
# Required service variables
variable "service_name" {
description = "Desired name for the provisioned resources"
type = string
}
variable "service_location_prefix" {
description = "Location prefix to append to names to create regionally unique resources"
type = string
}
# Required resource variables
variable "resource_address_space" {
description = "Desired address space for the provisioned resources"
type = string
}
variable "resource_group_name" {
description = "Desired resource group name for the provisioned resources"
type = string
}
variable "resource_location" {
description = "Desired location for the provisioned resources"
type = string
}
variable "resource_environment" {
description = "Desired environment for the provisioned resources"
type = string
}
variable "resource_deployment" {
description = "Desired deployment identifier for the provisioned resources"
type = string
}
variable "resource_dns_servers" {
description = "Desired DNS servers for the provisioned resources"
type = list(string)
default = null
}
variable "resource_network_subnet_count" {
description = "Desired number of subnets for the provisioned resources"
type = string
default = 1
validation {
condition = var.resource_network_subnet_count <= 2
error_message = "The maximum subnet count cannot exceed 2, due to a (currently hard coded) limitation in the current configuration."
}
}
variable "resource_network_role" {
description = "The network type for peering"
type = string
default = null
}