-
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_service_account resource is updated on every run in 2.0.0 #544
Comments
We are also impacted by this - looking at the plan, the reason seems to be than To give an example, you would need to set the |
It looks like these two may be separate issues. I'm not sure about the policy, but looks like the |
@acolombier just opened #547, would you be able to give that a try? I'm not sure the best way to test locally, so if you have a minimal example of testing with an LDAP user I can also try that. Ideally we would get that incorporated into our test pipeline as well |
Unfortunately, the IaC suffering from this issue is in an automated production pipeline, so I won't be able to test in there till we have a proper release. I did comment your PR tho, hopefully this is adding some more context to cover the issue. |
Ran this on version 2.0.1 and it still has the same issue. Hope you guys get this fixed soon, so I can move to the new version |
Also running into this issue. anything I can do to help with debugging? |
@arusa thanks for the report! Could you share the output of your plan and what you were trying to change? |
It's exactly what the original author of this issue reported. I ran Then I immediately ran
|
@pjsier any news on that? I just ran terraform again and it once again wants to replace a minio_iam_service_account, that I haven't touched. |
While the PR is being reviewed, this is the workaround I have been using to prevent the cycling of SA: resource "minio_iam_service_account" "this" {
// ...
lifecycle {
ignore_changes = [
target_user # FIXME Workaround till https://github.com/aminueza/terraform-provider-minio/pull/547 gets merged
]
}
} If you expect the SA to be recreated due to a genuine |
People seem to be confusing the
|
Hi I'm running in the same issue (the policy change issue that is). I did some digging in the provider and after changing the minio version in the docker-copose file to the most recent version the I will try to look in it further next week. But if somebody want's to fix it be my guest. |
Prerequisites
Description
When using a minio_iam_service_account resource, a plan and apply always updates the resource, even when no changes have been made to terraform code.
terraform config
Terraform plan output:
Steps to Reproduce
Expected behavior:
No changes should occur after the initial creation
Actual behavior:
The policy is updated/removed every run, eventhough no changes have been made
Reproduces how often: [What percentage of the time does it reproduce?]
100%
Versions
2.0.0
Additional Information
The text was updated successfully, but these errors were encountered: