-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvariables.tf
100 lines (97 loc) · 3.43 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
variable "project" {
description = "Name of Azure resource group that will be used for grouping infrastructure"
type = string
}
variable "user" {
description = "Instance user name that will used for SSH operations"
type = string
}
variable "windows_user" {
description = "Instance user name that will used for WINRM operations"
type = string
}
variable "windows_password" {
description = "Password that will used for WINRM operations"
type = string
sensitive = true
default = null
}
variable "ssh_key" {
description = "Location on disk of the SSH public key to be used for instance SSH access"
type = string
default = "~/.ssh/id_rsa.pub"
}
variable "region" {
description = "Azure region that'll be targeted for infrastructure deployment"
type = string
default = "westus2"
}
variable "compiler_count" {
description = "The quantity of compilers that are deployed behind a load balancer and will be spread across defined zones"
type = number
default = 1
}
variable "node_count" {
description = "The quantity of Linux nodes that are deployed within the environment for testing"
type = number
default = 0
}
variable "instance_image" {
description = "The disk image to use when deploying new cloud instances in the form of a full length Image ID or Marketplace URN"
type = string
default = "almalinux:almalinux:8-gen2:latest"
}
variable "image_plan" {
description = "The Marketplace offering's plan if it has one in Marketplace URN style, name:product:publisher"
type = string
default = "8-gen2:almalinux:almalinux"
}
variable "windows_node_count" {
description = "The quantity of nodes that are deployed within the environment for testing"
type = number
default = 0
}
variable "windows_instance_image" {
description = "The disk image to use when deploying new cloud instances in the form of a full length Image ID or Marketplace URN"
type = string
default = "MicrosoftWindowsServer:WindowsServer:2022-datacenter-azure-edition-smalldisk:latest"
}
variable "windows_image_plan" {
description = "The Marketplace offering's plan if it has one in Marketplace URN style, name:product:publisher"
type = string
default = ""
}
variable "tags" {
description = "A set of tags that will be assigned to resources along with required"
type = map
default = {}
}
variable "firewall_allow" {
description = "List of permitted IP subnets, list most include the internal network and single addresses must be passed as a /32"
type = list(string)
default = []
}
variable "architecture" {
description = "Which of the supported PE architectures modules to deploy xlarge, large, or standard"
type = string
default = "standard"
validation {
condition = contains(["standard", "large", "xlarge"], var.architecture)
error_message = "Architecture selection must match one of standard, large, or xlarge."
}
}
variable "replica" {
description = "To deploy instances required for the provisioning of a server replica"
type = bool
default = false
}
variable "destroy" {
description = "Available to facilitate simplified destroy via Puppet Bolt, irrelevant outside specific use case"
type = bool
default = false
}
variable "domain_name" {
description = "Custom domain to use for internalDNS"
type = string
default = null
}