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 implied policy in service account #584

Merged
merged 2 commits into from
Oct 14, 2024

Conversation

YannickTeKulve
Copy link
Contributor

@YannickTeKulve YannickTeKulve commented Oct 14, 2024

Since the following minio release: https://github.com/minio/minio/releases/tag/RELEASE.2024-10-02T17-50-41Z empty policies are returned differently for service accounts. See also: minio/minio#18346

This results in terraform trying to delete policies which where not set in the service account resource.

  • This pr ignores implied policies for service accounts. Also updates minio versions in docker compose to latest release.

  • TestServiceAccount_Policy failed on the new version, after fixing it works on the older minio version and new version, making it backwards compatible.

Reference

Closing issues

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.

Awesome!

The fix will be released on v2.5.1.

@felladrin felladrin merged commit 851697a into aminueza:main Oct 14, 2024
2 checks passed
@YannickTeKulve YannickTeKulve deleted the ytk-fix-implied-policy branch October 22, 2024 13:37
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.

minio_iam_service_account resource is updated on every run in 2.0.0
2 participants