AWS_PROFILE=example ZONE_ID=example aws route53 list-resource-record-sets --hosted-zone-id ${ZONE_ID} --profile ${AWS_PROFILE} \ | jq '.ResourceRecordSets[] | select(.ResourceRecords[]?.Value | test("example"))'
AWS_PROFILE=example DNS_NAME=example.com HOSTED_ZONE_ID=$(aws --profile $AWS_PROFILE route53 list-hosted-zones-by-name --max-items 1 --query "HostedZones[?Name == '${DNS_NAME}.'].[Id]" --output text) aws --profile $AWS_PROFILE route53 list-resource-record-sets --hosted-zone-id $HOSTED_ZONE_ID --query "ResourceRecordSets[?Type == 'CNAME' || Type == 'A'].[Name]" --output text
PukiWiki 1.5.3 © 2001-2020 PukiWiki Development Team. Powered by PHP 7.4.33. HTML convert time: 0.089 sec.