diff --git a/terraform/slurm_cluster/modules/_slurm_instance/README_TF.md b/terraform/slurm_cluster/modules/_slurm_instance/README_TF.md index ae47061e..ab671d35 100644 --- a/terraform/slurm_cluster/modules/_slurm_instance/README_TF.md +++ b/terraform/slurm_cluster/modules/_slurm_instance/README_TF.md @@ -67,7 +67,7 @@ No modules. | [slurm\_cluster\_name](#input\_slurm\_cluster\_name) | Cluster name, used for resource naming. | `string` | n/a | yes | | [slurm\_instance\_role](#input\_slurm\_instance\_role) | Slurm instance type. Must be one of: controller; login; compute. | `string` | `null` | no | | [static\_ips](#input\_static\_ips) | List of static IPs for VM instances | `list(string)` | `[]` | no | -| [subnetwork](#input\_subnetwork) | Subnet to deploy to. Only one of network or subnetwork should be specified. | `string` | `""` | no | +| [subnetwork](#input\_subnetwork) | Subnet to deploy to. Only one of network or subnetwork should be specified. | `string` | `null` | no | | [subnetwork\_project](#input\_subnetwork\_project) | The project that subnetwork belongs to | `string` | `""` | no | | [zone](#input\_zone) | Zone where the instances should be created. If not specified, instances will be spread across available zones in the region. | `string` | `null` | no | diff --git a/terraform/slurm_cluster/modules/_slurm_instance/variables.tf b/terraform/slurm_cluster/modules/_slurm_instance/variables.tf index 3adb24f1..40e96d3d 100644 --- a/terraform/slurm_cluster/modules/_slurm_instance/variables.tf +++ b/terraform/slurm_cluster/modules/_slurm_instance/variables.tf @@ -30,7 +30,7 @@ variable "network" { variable "subnetwork" { description = "Subnet to deploy to. Only one of network or subnetwork should be specified." type = string - default = "" + default = null } variable "subnetwork_project" {