Skip to content
This repository was archived by the owner on Aug 9, 2023. It is now read-only.

Commit 7a3ade1

Browse files
committed
Adding DockerImageAndMetadataVolumeSize as a parameter to the launch template to allow additional room for Docker image and metadata in case people use large containers (which they will).
1 parent 77860de commit 7a3ade1

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/templates/aws-genomics-launch-template.template.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ Parameters:
3434
Type: Number
3535
Default: 20
3636
Description: The initial size of the scratch volume (GB)
37+
DockerImageAndMetadataVolumeSize:
38+
Type: Number
39+
Default: 75
40+
Description: The size of the volume Docker will use for image and metadata storage (GB)
3741
WorkflowOrchestrator:
3842
Type: String
3943
Description: The workflow orchestration engine you will use
@@ -62,7 +66,7 @@ Metadata:
6266
Parameters:
6367
- ScratchMountPoint
6468
- ScratchVolumeSize
65-
69+
- DockerImageAndMetadataVolumeSize
6670
Conditions:
6771
UseCromwell: !Equals [!Ref WorkflowOrchestrator, cromwell]
6872

@@ -80,6 +84,12 @@ Resources:
8084
- Key: solution
8185
Value: !Ref WorkflowOrchestrator
8286
BlockDeviceMappings:
87+
- Ebs:
88+
Encrypted: True
89+
DeleteOnTermination: True
90+
VolumeSize: !Ref DockerImageAndMetadataVolumeSize
91+
VolumeType: gp2
92+
DeviceName: /dev/xvdcz
8393
- Ebs:
8494
Encrypted: True
8595
DeleteOnTermination: True

0 commit comments

Comments
 (0)