From 32efef84d16916f04d32506fe907b7dc3142d3f6 Mon Sep 17 00:00:00 2001 From: Alex Heye Date: Wed, 7 Dec 2022 08:29:17 +0000 Subject: [PATCH] Remove outdated warning in node_groups variable --- .../compute/schedmd-slurm-gcp-v5-partition/README.md | 2 +- .../compute/schedmd-slurm-gcp-v5-partition/variables.tf | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/community/modules/compute/schedmd-slurm-gcp-v5-partition/README.md b/community/modules/compute/schedmd-slurm-gcp-v5-partition/README.md index a9400583cf..6179871972 100644 --- a/community/modules/compute/schedmd-slurm-gcp-v5-partition/README.md +++ b/community/modules/compute/schedmd-slurm-gcp-v5-partition/README.md @@ -194,7 +194,7 @@ limitations under the License. | [node\_conf](#input\_node\_conf) | Deprecated: Use the schedmd-slurm-gcp-v5-node-group module for defining node groups instead. | `map(any)` | `null` | no | | [node\_count\_dynamic\_max](#input\_node\_count\_dynamic\_max) | Deprecated: Use the schedmd-slurm-gcp-v5-node-group module for defining node groups instead. | `number` | `null` | no | | [node\_count\_static](#input\_node\_count\_static) | Deprecated: Use the schedmd-slurm-gcp-v5-node-group module for defining node groups instead. | `number` | `null` | no | -| [node\_groups](#input\_node\_groups) | **Preview: This variable is still in development** A list of node groups
associated with this partition.
The default node group will be prepended to this list based on other input
variables to this module. |
list(object({
access_config = list(object({
network_tier = string
}))
node_count_static = number
node_count_dynamic_max = number
group_name = string
node_conf = map(string)
additional_disks = list(object({
disk_name = string
device_name = string
disk_size_gb = number
disk_type = string
disk_labels = map(string)
auto_delete = bool
boot = bool
}))
bandwidth_tier = string
can_ip_forward = bool
disable_smt = bool
disk_auto_delete = bool
disk_labels = map(string)
disk_size_gb = number
disk_type = string
enable_confidential_vm = bool
enable_oslogin = bool
enable_shielded_vm = bool
enable_spot_vm = bool
gpu = object({
count = number
type = string
})
instance_template = string
labels = map(string)
machine_type = string
metadata = map(string)
min_cpu_platform = string
on_host_maintenance = string
preemptible = bool
service_account = object({
email = string
scopes = list(string)
})
shielded_instance_config = object({
enable_integrity_monitoring = bool
enable_secure_boot = bool
enable_vtpm = bool
})
spot_instance_config = object({
termination_action = string
})
source_image_family = string
source_image_project = string
source_image = string
tags = list(string)
}))
| `[]` | no | +| [node\_groups](#input\_node\_groups) | A list of node groups associated with this partition. See
schedmd-slurm-gcp-v5-node-group for more information on defining a node
group in a blueprint. |
list(object({
access_config = list(object({
network_tier = string
}))
node_count_static = number
node_count_dynamic_max = number
group_name = string
node_conf = map(string)
additional_disks = list(object({
disk_name = string
device_name = string
disk_size_gb = number
disk_type = string
disk_labels = map(string)
auto_delete = bool
boot = bool
}))
bandwidth_tier = string
can_ip_forward = bool
disable_smt = bool
disk_auto_delete = bool
disk_labels = map(string)
disk_size_gb = number
disk_type = string
enable_confidential_vm = bool
enable_oslogin = bool
enable_shielded_vm = bool
enable_spot_vm = bool
gpu = object({
count = number
type = string
})
instance_template = string
labels = map(string)
machine_type = string
metadata = map(string)
min_cpu_platform = string
on_host_maintenance = string
preemptible = bool
service_account = object({
email = string
scopes = list(string)
})
shielded_instance_config = object({
enable_integrity_monitoring = bool
enable_secure_boot = bool
enable_vtpm = bool
})
spot_instance_config = object({
termination_action = string
})
source_image_family = string
source_image_project = string
source_image = string
tags = list(string)
}))
| `[]` | no | | [on\_host\_maintenance](#input\_on\_host\_maintenance) | Deprecated: Use the schedmd-slurm-gcp-v5-node-group module for defining node groups instead. | `string` | `null` | no | | [partition\_conf](#input\_partition\_conf) | Slurm partition configuration as a map.
See https://slurm.schedmd.com/slurm.conf.html#SECTION_PARTITION-CONFIGURATION | `map(string)` | `{}` | no | | [partition\_name](#input\_partition\_name) | The name of the slurm partition. | `string` | n/a | yes | diff --git a/community/modules/compute/schedmd-slurm-gcp-v5-partition/variables.tf b/community/modules/compute/schedmd-slurm-gcp-v5-partition/variables.tf index cc348e9fe3..56dfb3809d 100644 --- a/community/modules/compute/schedmd-slurm-gcp-v5-partition/variables.tf +++ b/community/modules/compute/schedmd-slurm-gcp-v5-partition/variables.tf @@ -159,10 +159,9 @@ variable "network_storage" { variable "node_groups" { description = <<-EOT - **Preview: This variable is still in development** A list of node groups - associated with this partition. - The default node group will be prepended to this list based on other input - variables to this module. + A list of node groups associated with this partition. See + schedmd-slurm-gcp-v5-node-group for more information on defining a node + group in a blueprint. EOT type = list(object({ access_config = list(object({