-
Notifications
You must be signed in to change notification settings - Fork 427
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for #2481 Adjusted error handling in the User's Read operation. Now when an error happens and we get the "object does not exist or not authorized" error then we're marking the resource as removed and return nil. Otherwise, we return the error. Also, added a test case that proves no error happens when the user is removed outside of the Terraform (it failed with the previous implementation).
- Loading branch information
1 parent
0d4aba4
commit dfa52b2
Showing
2 changed files
with
71 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters