Skip to content

Latest commit

 

History

History
66 lines (45 loc) · 1.91 KB

README.md

File metadata and controls

66 lines (45 loc) · 1.91 KB

Module: Slurm SA and IAM

FAQ | Troubleshooting | Glossary

Overview

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.

Usage

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.

Dependencies

TerraformUser

Required

  • Project IAM Admin (roles/resourcemanager.projectIamAdmin)

Module API

For the terraform module API reference, please see README_TF.md.