aws elbv2 describe-target-groups \
--query 'TargetGroups[*].TargetGroupArn' \
--output text \
> /tmp/arn.txt
for arn in `cat /tmp/arn.txt `; do
echo ${arn}
aws elbv2 describe-target-health \
--target-group-arn ${arn} \
--query 'TargetHealthDescriptions[*].Target.Id'
done