This repository was archived by the owner on Mar 27, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
114 lines (90 loc) · 2.72 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
102
103
104
105
106
107
108
109
110
111
112
113
114
variable "compartment_ocid" {
description = "Compartment's OCID where VCN will be created. "
}
variable "ssh_authorized_keys" {
description = "Public SSH keys path to be included in the ~/.ssh/authorized_keys file for the default user on the instance. "
default = ""
}
variable "ssh_private_key" {
description = "The private key path to access instance. "
default = ""
}
variable "control_ad" {
description = "The Availability Domain for Slurm control. "
default = ""
}
variable "control_subnet_id" {
description = "The OCID of the control subnet to create the VNIC in. "
default = ""
}
variable "control_display_name" {
description = "The name of the control instance. "
default = "slurmcontrol"
}
variable "control_image_id" {
description = "The OCID of an image for a control instance to use. "
default = ""
}
variable "control_shape" {
description = "Instance shape to use for control instance. "
default = "VM.Standard2.1"
}
variable "control_user_data" {
description = "Provide your own base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration for control instance. "
default = ""
}
variable "compute_count" {
description = "Number of compute instances to launch. "
default = 2
}
variable "compute_ad" {
description = "The Availability Domain(s) for Slurm compute(s). "
default = ""
}
variable "compute_subnet_id" {
description = "List of Slurm compute subnets' id. "
default = ""
}
variable "compute_display_name" {
description = "The name of the compute instance. "
default = "slurmcompute"
}
variable "compute_image_id" {
description = "The OCID of an image for compute instance to use. "
default = ""
}
variable "compute_shape" {
description = "Instance shape to use for compute instance. "
default = "VM.Standard2.1"
}
variable "compute_user_data" {
description = "Provide your own base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration for compute instance. "
default = ""
}
variable "bastion_host" {
description = "The bastion host IP."
}
variable "bastion_user" {
description = "The SSH user to connect to the bastion host."
default = "opc"
}
variable "bastion_private_key" {
description = "The private key path to access the bastion host."
}
variable "slurm_fs_ip" {
description = "The fs ip."
}
variable "private_key_path" {
description = "private_key_path for oci."
}
variable "auth_display_name" {
description = "The name of the auth instance. "
default = "slurmauth"
}
variable "enable_nis" {
default = "true"
}
variable "enable_ldap" {
default = "false"
}
variable "auth_subnet_id" {}