Filter instances deleted before start date
Implements a WHERE clause in the SQL query for instances that
filters out all instances that were deleted before the start
date of this billing cycle.
This brings several advantages
Makes the query faster as it reduces the number of instances to
process the events for.
Improves robustness of the script, since we don't need to deal
with possible edge cases from VMs before the start of the
invoicing window. (E.g. VMs that ops team was testing resize on.)
Depends on #30 (only consider last commit)
Filter instances deleted before start date Implements a WHERE clause in the SQL query for instances that filters out all instances that were deleted before the start date of this billing cycle.
This brings several advantages