Skip to content

Commit

Permalink
Update slurm-gcp module to use custom endpoints. Dependent on change …
Browse files Browse the repository at this point in the history
…to slurm-gcp PR#146
  • Loading branch information
cdunbar13 committed Jun 5, 2024
1 parent d923bbb commit b553892
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ limitations under the License.
| <a name="input_controller_startup_script"></a> [controller\_startup\_script](#input\_controller\_startup\_script) | Startup script used by the controller VM. | `string` | `"# no-op"` | no |
| <a name="input_controller_startup_scripts_timeout"></a> [controller\_startup\_scripts\_timeout](#input\_controller\_startup\_scripts\_timeout) | The timeout (seconds) applied to each script in controller\_startup\_scripts. If<br>any script exceeds this timeout, then the instance setup process is considered<br>failed and handled accordingly.<br><br>NOTE: When set to 0, the timeout is considered infinite and thus disabled. | `number` | `300` | no |
| <a name="input_create_bucket"></a> [create\_bucket](#input\_create\_bucket) | Create GCS bucket instead of using an existing one. | `bool` | `true` | no |
| <a name="input_custom_endpoints"></a> [custom\_endpoints](#input\_custom\_endpoints) | Alternate set of API endpoints | `map(string)` | `null` | no |
| <a name="input_deployment_name"></a> [deployment\_name](#input\_deployment\_name) | Name of the deployment. | `string` | n/a | yes |
| <a name="input_disable_controller_public_ips"></a> [disable\_controller\_public\_ips](#input\_disable\_controller\_public\_ips) | DEPRECATED: Use `enable_controller_public_ips` instead. | `bool` | `null` | no |
| <a name="input_disable_default_mounts"></a> [disable\_default\_mounts](#input\_disable\_default\_mounts) | DEPRECATED: Use `enable_default_mounts` instead. | `bool` | `null` | no |
Expand Down Expand Up @@ -263,6 +264,7 @@ limitations under the License.
| <a name="input_static_ips"></a> [static\_ips](#input\_static\_ips) | List of static IPs for VM instances. | `list(string)` | `[]` | no |
| <a name="input_subnetwork_self_link"></a> [subnetwork\_self\_link](#input\_subnetwork\_self\_link) | Subnet to deploy to. | `string` | n/a | yes |
| <a name="input_tags"></a> [tags](#input\_tags) | Network tag list. | `list(string)` | `[]` | no |
| <a name="input_universe_domain"></a> [universe\_domain](#input\_universe\_domain) | Domain address for alternate API universe | `string` | `null` | no |
| <a name="input_zone"></a> [zone](#input\_zone) | Zone where the instances should be created. If not specified, instances will be<br>spread across available zones in the region. | `string` | `null` | no |

## Outputs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,8 @@ module "slurm_files" {
nodeset_dyn = [for ns in values(local.nodeset_dyn_map) : { nodeset : ns }]

depends_on = [module.bucket]

# Providers
universe_domain = var.universe_domain
custom_endpoints = var.custom_endpoints
}
Original file line number Diff line number Diff line change
Expand Up @@ -592,3 +592,15 @@ EOD
type = any
default = false
}

variable "universe_domain" {
description = "Domain address for alternate API universe"
type = string
default = null
}

variable "custom_endpoints" {
description = "Alternate set of API endpoints"
type = map(string)
default = null
}

0 comments on commit b553892

Please sign in to comment.