-
Notifications
You must be signed in to change notification settings - Fork 190
INTMDB-270: Added 'with_default_alerts_settings' to project resource #595
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question and change. Thanks!
@@ -91,15 +97,15 @@ func resourceMongoDBAtlasProjectCreate(ctx context.Context, d *schema.ResourceDa | |||
|
|||
project, _, err := conn.Projects.Create(ctx, projectReq, createProjectOptions) | |||
if err != nil { | |||
return diag.FromErr(fmt.Errorf(errorProjectCreate, err)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not in the PR description, can you describe? Is this updates for the newer SDK that weren't made yet?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was working on this file and I noticed this, the correct use is diag.Errorf(.....)
not diag.FromErr(fmt.Errorf(....))
(this way works but is not correct)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Glad to have it corrected but next time this kind of things come up please describe it and why in the PR description. That way it's not a surprise. Thank you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…595) * added 'with_default_alerts_settings' to project resource * change project documentation
Description
A new property (
with_default_alerts_settings
) was added toproject
resource in order to disable default alerts on project creation. this property is set totrue
by defaultLink to any related issue(s):INTMDB-270
Type of change:
Required Checklist:
Further comments