When leftovers detects a matching A record inside of a non-matching Route53 zone, the log is potentially ambiguous about what will be removed.
For example, if we create a zone example-shared-zone.com.
Within that zone, we create an A record of single-record.example-shared-zone.com. 300 IN A 1.2.3.4
When leftovers detects a matching A record inside of a non-matching Route53 zone, the log is potentially ambiguous about what will be removed.
For example, if we create a zone
example-shared-zone.com.
Within that zone, we create an A record ofsingle-record.example-shared-zone.com. 300 IN A 1.2.3.4
Leftovers will display the message:
Similar behavior is demonstrated when running in
--dry-run
mode:The output could be interpreted as saying it will delete the whole zone, but from testing it will only delete the record (as desired/expected).