From a32b3ccb62344bbd9307fa85d50bf8ab29cfa0ae Mon Sep 17 00:00:00 2001 From: Chris Kalafarski Date: Fri, 19 Apr 2024 17:35:29 -0400 Subject: [PATCH] Add logging --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 18107f2..65d3bc5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -102,8 +102,6 @@ jobs: - name: Deploy hosted zone stack working-directory: components/hosted-zone run: | - ls -R - # Look up NLB hostnames for staging servers stag_use1_nlb_hostname=$(aws cloudformation describe-stacks --stack-name infrastructure-cd-root-staging --query "Stacks[0].Outputs[?OutputKey=='ExchangeFtpServerNlbDnsName'].OutputValue" --output text --region us-east-1) stag_usw2_nlb_hostname=$(aws cloudformation describe-stacks --stack-name infrastructure-cd-root-staging --query "Stacks[0].Outputs[?OutputKey=='ExchangeFtpServerNlbDnsName'].OutputValue" --output text --region us-west-2) @@ -113,7 +111,9 @@ jobs: prod_usw2_nlb_hostname=$(aws cloudformation describe-stacks --stack-name infrastructure-cd-root-production --query "Stacks[0].Outputs[?OutputKey=='ExchangeFtpServerNlbDnsName'].OutputValue" --output text --region us-west-2) # Create a comma-delimited list of us-east-1 health check IDs + find . -path "*-targeting-us-east-1/health_check_id" -type f find . -path "*-targeting-us-east-1/health_check_id" -type f -exec cat {} \; > us_east_1 + cat us_east_1 us_east_1_check_ids=$(cat us_east_1 | awk '{printf("%s,",$0)}' | sed 's/,\s*$//') # Create a comma-delimited list of us-west-2 health check IDs