aws-inventory/aws-route53-inventory.sh
2024-04-19 14:09:45 +08:00

5 lines
183 B
Bash
Executable File

#!/bin/bash
echo "ZoneName, IsPrivate, RecordCount"
aws route53 list-hosted-zones | jq -cr '.HostedZones[] | [.Name, .Config.PrivateZone, .ResourceRecordSetCount] | @csv' | tr -d \"