forked from Spirent-Terraform-Modules/terraform-azurerm-aion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
163 lines (134 loc) · 4.06 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
#VARIABLES
variable "instance_count" {
description = "Number of instances to create."
type = number
default = 1
}
variable "instance_size" {
description = "The Azure Virtual Machine SKU."
type = string
}
variable "instance_name" {
description = "Name assigned to the AION instance. An instance number will be appended to the name."
type = string
default = "aion"
}
variable "resource_group_name" {
type = string
description = "RG name in Azure"
}
variable "resource_group_location" {
type = string
description = "RG location in Azure"
}
variable "os_disk_size_gb" {
type = number
description = "Size of the OS disk in GB. When null size will be determined from the image."
default = null
}
variable "mgmt_plane_subnet_id" {
description = "Management public Azure subnet ID."
type = string
}
variable "enable_provisioner" {
description = "Enable provisioning. When enabled instances will be initialized with the specified variables."
type = bool
default = true
}
variable "ingress_cidr_blocks" {
description = "List of management interface ingress IPv4/IPv6 CIDR ranges."
type = list(string)
}
variable "aion_url" {
description = "AION URL"
type = string
}
variable "aion_user" {
description = "AION user registered on aion_url"
type = string
}
variable "aion_password" {
description = "AION user password for aion_url"
type = string
}
variable "cluster_names" {
description = "Instance cluster names. List length must equal instance_count."
type = list(string)
default = []
}
variable "node_names" {
description = "Instance cluster node names. List length must equal instance_count."
type = list(string)
default = []
}
variable "admin_email" {
description = "Cluster admin user email. Use this to login to instance web page. Default is obtained from AION user information."
type = string
default = ""
}
variable "admin_password" {
description = "Cluster admin user password. Use this to login to the instance web page."
type = string
}
variable "admin_first_name" {
description = "Cluster admin user first name. Default is obtained from AION user information."
type = string
default = ""
}
variable "admin_last_name" {
description = "Cluster admin user last name. Default is obtained from AION user information."
type = string
default = ""
}
variable "local_admin_password" {
description = "Cluster local admin password for instance SSH access. Will use admin_password if not specified."
type = string
default = ""
}
variable "node_storage_provider" {
description = "Cluster node storage provider"
type = string
default = "local"
}
variable "node_storage_remote_uri" {
description = "Cluster node storage URI. Leave blank for default when provider is local"
type = string
default = ""
}
variable "http_enabled" {
description = "Allow HTTP access as well as HTTPS. Normally this is not recommended."
type = bool
default = false
}
variable "metrics_opt_out" {
description = "Opt-out of Spirent metrics data collection"
type = bool
default = false
}
variable "dest_dir" {
description = "Destination directory on the instance where provisioning files will be copied"
type = string
default = "~"
}
variable "public_key" {
description = "File path to public key."
type = string
}
variable "private_key" {
description = "File path to private key"
type = string
}
variable "admin_username" {
description = "Administrator user name."
type = string
}
variable "aion_image_name" {
description = "AION image created from private vhd file. This variable overrides the marketplace image."
type = string
default = ""
}
variable "marketplace_version" {
description = "The Spirent AION image version (e.g. 0517.0.0). When not specified, the latest marketplace image will be used."
type = string
default = "latest"
}