JohannesEbke / aws_list_all

List all your AWS resources, all regions, all services.
MIT License
414 stars 97 forks source link

Route53 #4

Closed pwaller closed 5 years ago

pwaller commented 5 years ago

One apparent omission seems to be route53. It would be useful to get a complete list of domains.

pwaller commented 5 years ago

So I was able to make it list HostedZones, but for record sets we need to supply the zone. I guess listing record sets by enumerating the zones is not yet supported?

JohannesEbke commented 5 years ago

Currently aws-list-all only lists "first-level" resources, that can be found without resorting to querying with parameters. Discovering second-level resources would also be interesting, I guess given the boto3 metadata and the level of coherence in the API it should be possible.

JohannesEbke commented 5 years ago

One reason route53 was not in the list is that boto3 get_available_regions returns the empty set for the "route53" service :disappointed:

For v0.5, I've implemented a more exhaustive approach to service/region mapping, and added some mitigations for false positives. In short, I'm using the existence of an endpoint DNS entry as a guide, and then deal better with false positives (regions where a service is not (yet) supported).