From 8f34eae45f0681d6c875bb49a693f7e9bdc494ab Mon Sep 17 00:00:00 2001 From: Manuel Luypaert Date: Tue, 30 Apr 2024 14:53:31 +0100 Subject: [PATCH] Name launched EC2 execution workers --- pipeline/aws_infra/cdk_classes/aws_batch.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pipeline/aws_infra/cdk_classes/aws_batch.py b/pipeline/aws_infra/cdk_classes/aws_batch.py index 9f04e0de..30555adb 100644 --- a/pipeline/aws_infra/cdk_classes/aws_batch.py +++ b/pipeline/aws_infra/cdk_classes/aws_batch.py @@ -103,6 +103,8 @@ def __init__(self, scope: Stack, env_suffix: str, shared_work_dir_bucket: Option cdk_tags.of(self.compute_environment).add("Product", "PAVI") cdk_tags.of(self.compute_environment).add("Managed_by", "PAVI") + self.compute_environment.tags.set_tag('Name', 'PAVI pipeline execution worker', priority=None, apply_to_launched_instances=True) + # Create the job queue jq_name = 'pavi_pipeline' if env_suffix: