From 617fcde39020882ebdba55288380e04336699340 Mon Sep 17 00:00:00 2001 From: Chris Kalafarski Date: Wed, 24 Jul 2024 16:43:26 -0400 Subject: [PATCH] Add Name tag --- components/ftp-connection-check/template.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ftp-connection-check/template.yml b/components/ftp-connection-check/template.yml index de865fe..181a97f 100644 --- a/components/ftp-connection-check/template.yml +++ b/components/ftp-connection-check/template.yml @@ -114,7 +114,7 @@ Resources: InsufficientDataHealthStatus: Unhealthy Type: CLOUDWATCH_METRIC HealthCheckTags: - # - { Key: Name, Value: !Sub "delivery_prod_us-east-1_synthetic_from-${AWS::Region}" } + - { Key: Name, Value: !Join ["", ["delivery_prod_from-", !Ref AWS::Region, "_targeting-", !Select [2, !Split [".", !Ref FtpServerHostname]]]] } - { Key: prx:meta:tagging-version, Value: "2021-04-07" } - { Key: prx:cloudformation:stack-name, Value: !Ref AWS::StackName } - { Key: prx:cloudformation:stack-id, Value: !Ref AWS::StackId }