-
Notifications
You must be signed in to change notification settings - Fork 190
Cannot set multiple notifications for an alert #626
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
Comments
I don't believe it is currently possible with how the resource is setup but it should be. Let me talk with the team on this item. |
Internal ticket INTMDB-282 |
@falcon-18-tech so this seems to be a missing bit of documentation/examples on our part. Looking at the code one or more notification block should work for the same alert, e.g. That should work for you. If so I'll ensure we get the documentation updated to make this clearer. |
Yes, it is working. It would be better to reflect this in the documentation as well. |
Hello,
I wanted to set the multiple notifications for the same alert, but here in terraform resource of "mongodb_alert_configuration" we do not define notifications as an array, it poses a problem.
Whereas in MongoDB API we have the provision of setting up multiple alerts, therefore that must be somehow possible using terraform as well.
Here is the link of the MongoDB Atlas documentation for the creation of alerts using API, which has notification as an array in it's body.
https://docs.atlas.mongodb.com/reference/api/alert-configurations-create-config/#set-notifications
If that is already possible, do let me know.
The text was updated successfully, but these errors were encountered: