Document how to add a monitoring alert to all entities
Improvements to alerts object - cope with case where slack or email keys are not present
ISSUE TYPE
Feature Idea
COMPONENT NAME
digital_ocean_monitoring_alerts
ADDITIONAL INFORMATION
The documentation is not clear that you need to pass both the slack and email keys in the alerts object.
If you dont pass in both keys then the get_alert() comparison fails. I think this needs to be handled better.
SUMMARY
ISSUE TYPE
COMPONENT NAME
digital_ocean_monitoring_alerts
ADDITIONAL INFORMATION
The documentation is not clear that you need to pass both the slack and email keys in the alerts object. If you dont pass in both keys then the
get_alert()
comparison fails. I think this needs to be handled better.