-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
52 lines (42 loc) · 1.55 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
variable "ssh_pubkey" {
description = "The ssh public key to use for the instances"
}
variable "ssh_privkey_path" {
description = "The path to the ssh private key to auth to the instances"
}
#An up-to-date list of supported Crusoe Cloud images can be found at -> https://docs.crusoecloud.com/compute/images/overview
variable "headnode_image" {
description = "The image to use for creating the headnode instance"
default = "ubuntu22.04:latest"
}
#Supported VM types can be found here -> https://docs.crusoecloud.com/compute/virtual-machines/overview
variable "headnode_instance_type" {
description = "Name of the instance type to use for the headnode instance"
default = "c1a.8x"
}
variable "headnode_count" {
description = "How many headnodes to use, 1 implies no loadbalancing"
}
variable "worker_image" {
description = "The image to use for creating the worker instances"
default = "ubuntu22.04-nvidia-pcie-docker:latest"
}
variable "worker_instance_type" {
description = "Name of the instance type to use for the worker instances"
}
variable "worker_count" {
description = "Number of worker instances to create"
default = 1
}
variable "ib_partition_id" {
description = "infiniband partition id to use for the cluster"
}
#Currently supported regions are us-east1-a, us-northcentral1-a and us-southcentral1-a
variable "deploy_location" {
description = "region to deploy the cluster in"
default = "us-east1-a"
}
variable "instance_name_prefix" {
description = "Prefix to use for the instance names"
default = "crusoe"
}