Fixed broken EC2 Instance cleanup. The existing filter on the describe-instances API request was invalid and filtering out all EC2 instances.
Modified the TTL expiration set when adding new whitelist entries. New entries will now be whitelisted for double the TTL duration. In other words, when creating a new EC2 instance, it will automatically be whitelisted for 14 days instead of the default 7. The previous functionality didn't make too much sense as the whitelisting duration was the same as the default non-whitelisted behaviour.
Related issue(s) (if applicable)
Fixes #81
Checklist
Generic
[X] Have you followed the guidelines in our Contributing document?
[X] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
Development
[X] Have you added comments to all relevant changes within the code?
[X] Have you lint your code locally prior to submission?
[X] Have you formatted (Python Black and Prettier) your code locally prior to submission?
Testing
[ ] Have you created new tests for your submission?
[ ] Does your submission pass all tests?
[ ] Does your submission improve or at the very least kept code coverage at the same percentage?
Documentation
[X] Have you added or changed any and all applicable documentation?
Description
describe-instances
API request was invalid and filtering out all EC2 instances.Related issue(s) (if applicable)
Checklist
Generic
Development
Testing
Documentation