Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Update logic in resource_user_password #27

Merged
merged 2 commits into from
Apr 11, 2021
Merged

Update logic in resource_user_password #27

merged 2 commits into from
Apr 11, 2021

Conversation

ArmaanT
Copy link

@ArmaanT ArmaanT commented Mar 26, 2021

Just copying my PR from the old hashicorp repo. (hashicorp#117)

This PR updates resource_user_password to use the same logic as resource_user to set and update a user's password.

For MySQL versions up to 5.7.6, it will use SET PASSWORD and for later versions, it will use ALTER USER

@winebarrel winebarrel self-requested a review April 9, 2021 00:34
@winebarrel winebarrel self-assigned this Apr 9, 2021
Copy link
Owner

@winebarrel winebarrel left a comment

Choose a reason for hiding this comment

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

Thank you 😃

@winebarrel winebarrel merged commit 853012c into winebarrel:patched-master Apr 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants