Undefined Title

Check if ACM Certificate is in-use with one-liner

2020-03-30

You can use the one-liner though you need parallel :)

AWS_DEFAULT_REGION=us-east-1 \
aws acm list-certificates \
  | jq -r .CertificateSummaryList[].CertificateArn \
  | parallel aws acm describe-certificate --certificate-arn {1} \
  | jq -r '.Certificate|{domain:.DomainName,arn:.CertificateArn,type:.Type,issuer:.Issuer,inUseBy:.InUseBy}'