Skip to content

Commit

Permalink
try get lt
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvpickering committed Dec 14, 2024
1 parent 3700279 commit 7c1afc4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cf/batch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Resources:
# Define the Launch Template with Metadata Options
BatchLaunchTemplate:
Type: AWS::EC2::LaunchTemplate
DeletionPolicy: Retain
Properties:
LaunchTemplateName: !Sub "batch-${Environment}-launch-template"
LaunchTemplateData:
Expand All @@ -28,6 +29,7 @@ Resources:

BatchComputeEnvironment:
Type: AWS::Batch::ComputeEnvironment
DeletionPolicy: Delete
Properties:
ComputeEnvironmentName: !Sub "compute-env-${Environment}"
State: ENABLED
Expand Down Expand Up @@ -69,11 +71,11 @@ Resources:
BatchJobQueue:
Type: AWS::Batch::JobQueue
DependsOn: BatchComputeEnvironment
DeletionPolicy: Delete
Properties:
JobQueueName: !Sub "queue-pipeline-${Environment}"
Priority: 1
ComputeEnvironmentOrder:
- ComputeEnvironment: !Sub "compute-env-${Environment}"
Order: 1
State: ENABLED

0 comments on commit 7c1afc4

Please sign in to comment.