FAQ | Troubleshooting | Glossary
This module can create three different sets of service accounts, IAM Roles, and access scopes: controller; login; compute. These service account sets are intended to be passed to other sections of the Slurm cluster configuration to define instances templates.
See examples directory for sample usages.
See below for a simple inclusion within your own terraform project.
module "slurm_sa_iam" {
source = "[email protected]:SchedMD/slurm-gcp.git//terraform/slurm_sa_iam?ref=v5.0.0"
project_id = "<PROJECT_ID>"
slurm_cluster_name = "<SLURM_CLUSTER_NAME>"
account_type = "controller"
}
NOTE: Because this module is not hosted on Terraform Registry, the version must be strictly controlled via revision syntax on the source line.
- Project IAM Admin (
roles/resourcemanager.projectIamAdmin
)
For the terraform module API reference, please see README_TF.md.