-
Notifications
You must be signed in to change notification settings - Fork 187
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
TeamsUpdate - fixing small bug, again missing update #417
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.
LGTM, just a question about long term plans.
# Global rule | ||
* @themantissa | ||
|
||
# examples | ||
/examples/** @nikhil-mongo | ||
|
||
# resources & datasources, provider | ||
/mongodbatlas/** @coderGo93 @leofigy |
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.
useful!
// new resource missing | ||
reset := strings.Contains(err.Error(), "404") && !d.IsNewResource() | ||
if reset { | ||
d.SetId("") | ||
return nil | ||
} |
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.
We've had a few of these. Should we perhaps do a ticket for an audit to check all resources or do as we've done, add as we find them?
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.
yea, agree with that :)
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.
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!, thank you
Description
Missing refreshing the state when the team is removed from the outside terraform, but still in the configuration file
Link to any related issue(s):
Type of change:
Required Checklist:
Further comments