Skip to content

Batch support for Route53 module #1971

@danmoz

Description

@danmoz

Summary

Modify the route53 module to send multiple record updates in a batch. This would dramatically speed up playbooks which need to update a large number of records.

Issue Type

Feature Idea

Component Name

amazon.aws.route53

Additional Information

I find that the slowest parts of my playbooks are always those that update Route53 DNS records. By using asynchronous actions, I was able to speed things up a little, but it's still quite painful for bulk updates.

I noticed the Route53 API accepts batched requests in the form of ChangeRecordSets; if the module took advantage of this feature, updating 20 records would take about the same amount of time as updating a single record (i.e. O(n) to O(1) time).

This would be a game changer for my use case and I suspect many others. It would also reduce the risk of being rate limited by AWS.

Code of Conduct

  • I agree to follow the Ansible Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureThis issue/PR relates to a feature requestwaiting_on_contributorNeeds help. Feel free to engage to get things unblocked

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions