Skip to content

Commit 2900ce3

Browse files
Added additional comments to variables.tf
1 parent 10d17f6 commit 2900ce3

File tree

1 file changed

+30
-13
lines changed

1 file changed

+30
-13
lines changed

variables.tf

Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,35 @@
11
variable "ad" { default = "3" } // Availability domain
2-
variable "additional_headnode_roles" {
3-
default = [""]
4-
}
52

6-
variable "additional_worker_roles" {
7-
default = [""]
8-
}
9-
// Currently gluster. Potentialy other types of storage.
3+
# Additional role to be added to headnode. This can be for example an application module
4+
5+
variable "additional_headnode_roles" { default = [""] }
6+
7+
# Additional roles to be added to compute nodes. This can be for example an application module.
8+
9+
variable "additional_worker_roles" { default = [""] }
10+
11+
# storage_type variable configures external scratch filesystem
12+
# that will be mounted on all nodes.
13+
# This requires storage_count to be greater than 0 and storage_shape to be a DenseIO type instance.
14+
# current options:
15+
# gluster - GlusterFS
16+
# beegfs - BeeGFS
17+
1018
variable "storage_type" { default = "gluster" }
1119

12-
variable "additional_storage_roles" {
13-
default = [""]
14-
}
15-
variable "additional_role_all" {
16-
default = ["intelmpi", "openmpi"]
17-
}
20+
# Additional roles to be configured on storage nodes
21+
variable "additional_storage_roles" { default = [""] }
22+
23+
# Additional role to be added to ALL nodes in the cluster.
24+
# The value is a LIST type variable And can be set to empty list [""]
25+
# Default value will install openmpi and intelmpi libraries
26+
27+
variable "additional_role_all" { default = ["intelmpi", "openmpi"] }
28+
29+
#
30+
#
31+
#
32+
1833
variable "network_cidr" { default = "10.254.0.0/16" }
1934
variable "headnode_shape" { default = "VM.Standard2.2" } // Shape used for headnode server
2035
variable "compute_shape" { default = "VM.Standard2.4" } // Shape used by compute workers
@@ -27,6 +42,8 @@ variable "compute_volumes" { default = "0" }
2742
variable "compute_volume_size" { default = "1024" }
2843
variable "storage_volumes" { default = "0" } // Block Volumes to attach for gluster node
2944
variable "storage_volume_size" { default = "1024" } // Block volume size
45+
46+
# Default IMAGE is set to Oracle Linux 7.5 installation
3047
variable "image" {
3148
type = "map"
3249
default = {

0 commit comments

Comments
 (0)