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

Fix updating minio_iam_user name #383

Merged
merged 1 commit into from
Nov 12, 2022

Conversation

pjsier
Copy link
Collaborator

@pjsier pjsier commented Nov 2, 2022

Changes

  • Fixes the issue with updating name on minio_iam_user by using ForceNew for deleting and replacing a user when the username changes
  • Refactors minio_iam_user to remove the custom logic that previously managed replacing a user when the username changedIt
  • Adds a test to verify that updating name for minio_iam_user runs successfully, which fails on the current code

Reference

Copy link
Collaborator

@felladrin felladrin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and working as described! Thanks @pjsier!

@felladrin felladrin merged commit fdc30f5 into aminueza:master Nov 12, 2022
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 this pull request may close these issues.

Renaming a user doesn't work as expected
2 participants