Piranha Documentation

DNS - Listing Domain - AWS CLI

Back to Parent

Aim

Details of the output from Ansible

AWS CLI

$ cd awscli/

$ source ../../../providers/aws/setup.bash

$ ./dns-list-domains.bash

+ aws route53 list-hosted-zones-by-name --profile=alphatest --region=eu-west-2 --endpoint-url=https://aws.piranha.sh
{
    "HostedZones": [
        {
            "Id": "8d943433e0fa60b3",
            "Name": "apubliczone.com.",
            "CallerReference": "8d943433e0fa60b3",
            "Config": {
                "Comment": "",
                "PrivateZone": false
            },
            "ResourceRecordSetCount": 1
        }
    ],
    "IsTruncated": false,
    "MaxItems": "100"
}
+ sleep 10s