-
Notifications
You must be signed in to change notification settings - Fork 75
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
minio_iam_user - Inconsistent result when changing password #582
Comments
same on my side |
'''2024-09-19T01:29:21.657+0200 [INFO] backend/local: apply calling Apply |
It seems that the root cause of the issue is the following: if The bug was introduced in #141 and it can be reproduced with any resource referring the user resource created with It makes impossible to modify any attributes of the user if force_destroy was set to true. |
Thanks for investigating it, @s-vitaliy! Do you think it's possible to fix this bug without a breaking change? |
Hi, @felladrin. My team is very interested in fixing this issue, as it can lead to the Terraform state breaking which would be a nightmare to fix. Could you please elaborate on the user scenario behind the It seems that we can remove the following code from the
This change could lead to behavior changes visible to the users: if Anyway, to be honest, it's hard to imagine that someone expects the user to be deleted if terraform plan says that the user object should be modified. |
I agree with the removal of |
Description
Attempting to change a user's password results in this error:
Sample configuration
Steps to Reproduce
terraform init
terraform apply
(use any 8+ characters password)terraform apply
(use a different password from previous step)Expected behavior: Terraform updates the user's password
Actual behavior: Terraform deleted the user
Reproduces how often: 100%
Versions
Additional Information
Looks like the provider also doesn't like having a user being deleted outside Terraform when referenced in other resources. Attempting to do anything with the configuration (
plan
,apply
ordestroy
) results in this error:The text was updated successfully, but these errors were encountered: