Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support App Platform alerts via slack #802

Open
hstaudacher opened this issue Mar 19, 2022 · 8 comments
Open

Support App Platform alerts via slack #802

hstaudacher opened this issue Mar 19, 2022 · 8 comments

Comments

@hstaudacher
Copy link

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.

@andrewsomething
Copy link
Member

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.

@hstaudacher
Copy link
Author

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.

@andrewsomething
Copy link
Member

Yes. doctl also has commands for using both of those if the CLI makes it easier for you.

@ricardo01010
Copy link

Hello, are you planning to include this in the module? That is, the integration of slack is native.

@voxivoid
Copy link

it would be great to support this since it is a very common use case for the alerts

@hstaudacher
Copy link
Author

Any progress on this?

@WouterSioen
Copy link

This is a feature we're missing as well, so it would be very nice to see this.

@mwyld
Copy link

mwyld commented Mar 1, 2024

This would be a great feature :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants