Open hstaudacher opened 2 years ago
Thanks for opening an issue to track this. As mentioned in the PR adding initial alert support, destinations can not be configured in the app spec itself. You need to call a separate endpoint to add Slack hooks or other emails:
https://docs.digitalocean.com/reference/api/api-reference/#operation/assign_alert_destinations
This might end up needing to be a separate app alert destinations resource.
I wasn't aware of #797. Thx for pointing me to it. The problem I see right now is that the endpoint you are mentioning requires an alert id which is not exposed when creating the app in terraform. So, I guess would have to list all alerts for all apps and update the destinations. Is this what you would a suggest? If not can you point me to the right direction? Thx in advance.
Yes. doctl
also has commands for using both of those if the CLI makes it easier for you.
Hello, are you planning to include this in the module? That is, the integration of slack is native.
it would be great to support this since it is a very common use case for the alerts
Any progress on this?
This is a feature we're missing as well, so it would be very nice to see this.
This would be a great feature :)
Is your feature request related to a problem? Please describe.
When configuring an alert within the digitalocean_app spec only an email alert will be configured. It would be nice if one can choose between email/slack as within the do UI.