presslabs / zinc

Route 53 zone manager.
https://www.presslabs.com/code/zinc/
Other
42 stars 2 forks source link

handle policy records deleted from aws #253

Closed rciorba closed 7 years ago

rciorba commented 7 years ago

Don't reconcile dirty Policy if all dirty PolicyRecords are deleted. This will avoid constant creation/deletion of policy tree.

Don't delete a PolicyRecord's top level alias unless it exists. Previously the reconcile loop would fail if a policy record's top level alias did not exist, leaving the record in a dirty state forever.