-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathvariables.tf
More file actions
53 lines (45 loc) · 1.37 KB
/
variables.tf
File metadata and controls
53 lines (45 loc) · 1.37 KB
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
variable "cluster_storage" {
description = "A map with keys 'share' and 'mountpoint' describing an NFS export and its intended mount point"
type = map(string)
}
variable "family" {
description = "The source image x86 prefix to be used by the compute node(s)"
type = string
default = "global"
}
variable "compute_node_specs" {
description = "A list of compute node specifications"
type = list(object({
name_prefix = string
machine_arch = string
machine_type = string
gpu_type = string
gpu_count = number
compact = bool
instances = number
properties = set(string)
boot_script = string
}))
default = []
}
variable "compute_scopes" {
description = "The set of access scopes for compute node instances"
default = [ "cloud-platform" ]
type = set(string)
}
variable "project_id" {
description = "The GCP project ID"
type = string
}
variable "region" {
description = "The GCP region where the cluster resides"
type = string
}
variable "service_account_emails" {
description = "A map with keys: 'compute', 'login', 'manager' that map to the service account to be used by the respective nodes"
type = map(string)
}
variable "subnetwork" {
description = "Subnetwork to deploy to"
type = string
}