-
Notifications
You must be signed in to change notification settings - Fork 7
/
compute-envs.yml
36 lines (35 loc) · 2.78 KB
/
compute-envs.yml
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
## To see the full list of options available run: "tw compute-envs add"
## The options required to create compute environments can be specified:
## 1. Explicitly in this file
## 2. Via a JSON file exported from Seqera Platform with the "tw compute-envs export" command
compute-envs:
# To create a compute environment from a JSON configuration file (AWS Example)
- name: 'my_aws_compute_environment' # required
workspace: 'my_organization/my_workspace' # required
credentials: 'my_aws_credentials' # required
wait: 'AVAILABLE' # optional
file-path: './compute-envs/my_aws_compute_environment.json' # required
overwrite: True # optional
# To create a compute environment with options specified through YAML (AWS Example)
- type: aws-batch # required
config-mode: forge # required for AWS and Azure
name: 'my_aws_compute_environment' # required
workspace: 'my_organization/my_workspace' # required
credentials: 'my_aws_credentials' # required
region: 'eu-west-1' # required
work-dir: 's3://my-bucket' # required
provisioning-model: 'SPOT' # optional
fusion-v2: False # optional
wave: False # optional
fargate: False # optional
fast-storage: False # optional
instance-types: 'c6i,r6i,m6i' # optional, comma separated list
no-ebs-auto-scale: True # optional
max-cpus: 500 # required
labels: 'label1,label2' # optional, comma separated list
vpc-id: 'vpc-1234567890' # optional
subnets: 'subnet-1234567890,subnet-1234567891' # optional, comma separated list
security-groups: 'sg-1234567890,sg-1234567891' # optional, comma separated list
allow-buckets: 's3://my-bucket,s3://my-other-bucket' # optional, comma separated list
wait: 'AVAILABLE' # optional
overwrite: False # optional