-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
101 lines (85 loc) · 2.23 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
variable "resource_group_name" {
description = "Name of resource group"
type = string
default = "agrimitra"
}
variable "resource_group_location" {
description = "Location of resource group"
type = string
default = "Central India"
}
variable "storage_account_name" {
description = "Name of state storage account"
type = string
default = "agrimitrastate"
}
variable "storage_container_name" {
description = "Name of state storage account"
type = string
default = "tfstate"
}
variable "storage_key" {
description = "Name of state storage account"
type = string
default = "./terraform.tfstate"
}
variable "manager_instance_count" {
description = "Number of Manager VM instances to create"
type = number
default = 1
}
variable "worker_instance_count" {
description = "Number of Worker VM instances to create"
type = number
default = 1
}
variable "gpu_instance_count" {
description = "Number of GPU Worker VM instances to create"
type = number
default = 0
}
variable "manual_instance_count" {
description = "Number of GPU Worker VM instances to create"
type = number
default = 1
}
variable "manager_instance_size" {
description = "Size of Manager VM instances"
type = string
default = "Standard_D2s_v3"
}
variable "worker_instance_size" {
description = "Size of Worker VM instances"
type = string
default = "Standard_DS1_v2"
}
variable "gpu_instance_size" {
description = "Size of GPU Worker VM instances"
type = string
default = "Standard_NC4as_T4_v3"
}
variable "manual_instance_size" {
description = "Size of GPU Worker VM instances"
type = string
default = "Standard_E2bds_v5"
}
variable "worker_disk_size" {
description = "Size of Worker VM Disk"
type = number
default = 50
}
variable "gpu_disk_size" {
description = "Size of GPU Worker VM Disk"
type = number
default = 100
}
variable "manager_disk_size" {
description = "Size of Manager VM Disk"
type = number
default = 50
}
variable "manual_disk_size" {
description = "Size of Manager VM Disk"
type = number
default = 128
}