-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
I'm not sure if this is the right place to raise this issue - from the v5 branch I cloned the terraform project and all modules and I'm trying to run terraform plan -var-file=example.tfvars. I have the GCP CLI working and authenticating fine to my cloud account and project. I added basic customizations to the example.tfvars file and run 'terraform init', validate and plan from here:
terraform/slurm_cluster/examples/slurm_cluster/hybrid/basic
I get errors like this but don't see how to satisfy the requirement for attribute "partition_feature"
Plan: 10 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ slurm_cluster_name = "cluster"
╷
│ Error: Invalid value for input variable
│
│ on example.tfvars line 119:
│ 119: partitions = [
│ 120: {
│ 121: enable_job_exclusive = false
│ 122: enable_placement_groups = false
│ 123: network_storage = []
│ 124: partition_conf = {
│ 125: ResumeTimeout = 300
│ 126: SuspendTimeout = 300
│ 127: SuspendTime = 300
│ 128: }
│ 129: partition_startup_scripts_timeout = 300
│ 130: partition_startup_scripts = [
...
...
267: }
│ 268: },
│ 269: ]
│ 270: region = "us-east1"
│ 271: subnetwork_project = "projtest1"
│ 272: subnetwork = "projtest1-subnet1"
│ 273: zone_target_shape = "ANY_SINGLE_ZONE"
│ 274: zone_policy_allow = []
│ 275: zone_policy_deny = []
│ 276: },
│ 277: ]
│
│ The given value is not suitable for var.partitions declared at variables.tf:250,1-22: element 0: attribute "partition_feature" is required.
╵
Looking at README_TF.md, it doesn't say anything about "partition_feature" being required. I tried adding a string value to example.tfvars but the error persists.
Metadata
Metadata
Assignees
Labels
No labels