Skip to content

Commit

Permalink
Enable Ansible 4. Optionally use route53_info to get record sets for …
Browse files Browse the repository at this point in the history
…delete (#92)

* Use route53_info to get record sets for delete

+ Previous method of getting route53 records (using route53 module with state=get), has an issue in Ansible 2.10.7 where the return values have changed due to boto3 migration (ansible-collections/community.aws#523).
+ In any case, state=get on the route53 module is not likely to remain supported indefinitely.
+ Using the route53_info module also has some issues with ignoring type and max_items (ansible-collections/community.aws#529), so these are worked around in this fix by post-filtering the output.
+ Do not call route53_info asynchronously, as it makes too many concurrent requests and blows the AWS Route53 API limit.

* Fix for private zone

* Fix non-private DNS. Add testsuite support for scaling up/down

* Break dependence upon 2.9.6 <= Ansible <= 2.10.6.  Route53 deletion enhancement.

* Remove  '--format json' from 'ansible-galaxy collection list' assertion, as 'format option' is not present in ansible-galaxy 2.10.x
  • Loading branch information
dseeley-sky authored Jul 1, 2021
1 parent 815c1db commit 7f5ab23
Show file tree
Hide file tree
Showing 5 changed files with 659 additions and 452 deletions.
Loading

0 comments on commit 7f5ab23

Please sign in to comment.