File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
environments/skeleton/{{cookiecutter.environment}}/tofu Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,15 @@ variable "cluster_image_id" {
71
71
}
72
72
73
73
variable "compute" {
74
- type = any
74
+ type = object (
75
+ object ({
76
+ nodes = list (string )
77
+ flavor = string
78
+ image_id = optional (string )
79
+ extra_networks = list (map (string ))
80
+ vnic_types = map (string )
81
+ compute_init_enable = list (string )
82
+ ignore_image_changes = bool
75
83
description = <<- EOF
76
84
Mapping defining homogenous groups of compute nodes. Groups are used
77
85
in Slurm partition definitions.
@@ -100,6 +108,7 @@ variable "compute" {
100
108
gateway_ip: Address to add default route via
101
109
nodename_template: Overrides variable cluster_nodename_template
102
110
EOF
111
+ default = {}
103
112
}
104
113
105
114
variable " environment_root" {
You can’t perform that action at this time.
0 commit comments