File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -271,13 +271,14 @@ To enable this feature:
271
271
7. Modify `main.tf`:
272
272
273
273
1. Add instances to `instances` with the tags `pool` and `node`. These are
274
- the nodes that Slurm will able to create and destroy. Commit and push changes in git.
274
+ the nodes that Slurm will able to create and destroy.
275
275
2. On the right-hand-side of `public_keys = `, replace `[file("~/.ssh/id_rsa.pub")]`
276
276
by a list of SSH public keys that will have admin access to the cluster.
277
277
3. After the line `public_keys = ...`, add `hieradata = file("data.yaml")`.
278
278
4. After the line `hieradata = ...`, add `generate_ssh_key = true`. This will provide
279
279
Terraform Cloud SSH admin access to the cluster and it will be used to upload configuration
280
280
files.
281
+ 5. Stage changes, commit and push to git repo.
281
282
282
283
9. Go to your workspace in TFE, click on Actions -> Start a new run -> Plan and apply -> Start run.
283
284
10. Compute nodes defined in step 8 can be modified at any point in the cluster lifetime and
You can’t perform that action at this time.
0 commit comments