-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
61 lines (45 loc) · 994 Bytes
/
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
variable "resource_group_name" {
type = string
}
variable "region" {
type = string
}
variable "label" {
type = string
}
variable "vnet_cidr" {
type = string
default = "192.168.0.0/20"
}
variable "subnet_cidrs" {
default = ["192.168.0.0/22"]
}
variable "allow_public" {
type = string
default = false
}
variable "external_ip" {
default = null # defaults to workstation's public IP address
type = string
}
variable "cluster_manager_vm_size" {
type = string
default = "Standard_DS2_v2"
description = "The cluster manager instance size"
}
variable "network_type" {
type = string
default = "create"
validation {
condition = var.network_type == "create" || var.network_type == "load"
error_message = "${var.network_type} not valid. Type must be either create or load"
}
}
variable "virtual_network_name" {
default = null
type = string
}
variable "virtual_subnet_name" {
default = null
type = string
}