Skip to content

Commit

Permalink
pipe fail
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardTMiles committed Jul 15, 2024
1 parent 8fcb4ea commit 1bc0d52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/assets/shell/getAmazonCertificateManagerSSL.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash


# Ensure at least one domain is provided
if [[ $# -eq 0 ]]; then
echo "Usage: $0 domain1,domain2,..."
Expand All @@ -24,6 +23,8 @@ err() {
}
trap 'err $LINENO $?' ERR

set -eEBx

# Fetch certificate ARNs from AWS
CERTIFICATES=$(aws acm list-certificates --query 'CertificateSummaryList[*].CertificateArn' --output text | sed 's/[[:space:]]/,/g')

Expand Down

0 comments on commit 1bc0d52

Please sign in to comment.