-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathvariables.tf
More file actions
94 lines (79 loc) · 2.51 KB
/
variables.tf
File metadata and controls
94 lines (79 loc) · 2.51 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
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
variable "automatic_restart" {
type = bool
description = "(Optional) Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user)."
default = true
}
variable "boot_script" {
description = "(Optional) the name of a file containing a script to be executed on compute nodes at boot time"
type = string
default = null
}
variable "compact_placement" {
description = "(Optional) a boolean which determines whether a set of compute nodes has a compact placement resource policy attached to them."
type = bool
default = false
}
variable "family" {
description = "The source X86 image family prefix to use"
type = string
default = "flux-framework"
}
variable "gpu" {
description = "The type and count of GPU(s) to attach to a compute node"
type = object({
type = string
count = number
})
default = null
}
variable "machine_arch" {
description = "The instruction set architecture, usually x86_64, used by the compute node"
type = string
}
variable "network_tier" {
description = "The network tier (STANDARD or PREMIUM)"
type = string
default = "STANDARD"
}
variable "machine_type" {
description = "The Compute Engine machine type to be used for the compute node"
type = string
}
variable "name_prefix" {
description = "The name prefix for the compute node instances, the full instances names will be this prefix followed by a node number"
type = string
}
variable "nfs_mounts" {
description = "A map with keys 'share' and 'mountpoint' describing an NFS export and its intended mount point"
type = map(string)
default = {}
}
variable "num_instances" {
description = "The number of compute node instances to create"
type = number
default = 1
}
variable "on_host_maintenance" {
type = string
description = "Instance availability Policy"
default = "MIGRATE"
}
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" {
description = "The GCP service account used by the compute node"
type = object({
email = string
scopes = set(string)
})
}
variable "subnetwork" {
description = "Subnetwork to deploy to"
type = string
}