forked from SchedMD/slurm-gcp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.pkrvars.hcl
83 lines (64 loc) · 1.83 KB
/
example.pkrvars.hcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Copyright (C) SchedMD LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
###########
# GENERAL #
###########
project_id = "<PROJECT_ID>"
zone = "us-central1-a"
# prefix = null
#########
# IMAGE #
#########
# NOTE: Your Project ID will be automatically appended
source_image_project_id = "cloud-hpc-image-public"
#source_image = null
source_image_family = "hpc-centos-7"
# disk_type = "pd-standard"
# disk_size = 32
# machine_type = "n1-standard-16"
tags = [
# "tag0",
# "tag1",
]
# *NOT* intended for production use
# skip_create_image = true
#############
# PROVISION #
#############
# slurm_version = "23.02.4"
# Disable some ansible roles here; they are enabled by default
# install_cuda = false
# install_ompi = false
# install_lustre = false
# install_gcsfuse = false
### Service Account ###
service_account_email = "default"
service_account_scopes = [
"https://www.googleapis.com/auth/cloud-platform",
]
###########
# NETWORK #
###########
# network_project_id = "<NETWORK_PROJECT_ID>"
# subnetwork = "<SUBNETWORK_ID>"
# add extra verbosity arguments to ensure stdout/stderr appear in output
extra_ansible_provisioners = [
# {
# playbook_file = "/home/user/playbooks/custom.yaml"
# galaxy_file = null
# extra_arguments = ["-vv"]
# user = null
# },
]
# More options are listed in the variables.pkr.hcl