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

Alert configuration roles array should not be required #201

Closed
themantissa opened this issue Apr 22, 2020 · 2 comments · Fixed by #202
Closed

Alert configuration roles array should not be required #201

themantissa opened this issue Apr 22, 2020 · 2 comments · Fixed by #202

Comments

@themantissa
Copy link
Collaborator

themantissa commented Apr 22, 2020

Provider version 0.5.0

Issue:
The MongoDB Atlas documentation states that notifications.roles is required, when it is not (see https://docs.atlas.mongodb.com/reference/api/alert-configurations-create-config/) a request will be submitted to correct the docs bug. However roles really only applies if the notification type is GROUP, and even then when omitted it simply sends the alert to all users in the project. Currently requiring roles is likely to break alert configs set to EMAIL, which does not need roles.

@themantissa
Copy link
Collaborator Author

@PacoDw should hopefully be a quick fix.

@themantissa
Copy link
Collaborator Author

FYI to others 0.4.2 does not have this issues so if you upgraded to 0.5.0, please downgrade till this is addressed.

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

Successfully merging a pull request may close this issue.

1 participant