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

Service account maximum expiration is not 365 days #600

Closed
pierresebastien opened this issue Dec 17, 2024 · 0 comments · Fixed by #601
Closed

Service account maximum expiration is not 365 days #600

pierresebastien opened this issue Dec 17, 2024 · 0 comments · Fixed by #601

Comments

@pierresebastien
Copy link
Contributor

Description

The maximum expiration date of service account (introduced in version 3.1.0, see #594) is not 365 days as indicated in the documentation but only approximately 6 days. This is due to a wrong conversion of number of minutes in a year on this line https://github.com/ribetm/terraform-provider-minio/blob/main/minio/resource_minio_service_account.go#L374 (365*24 is the number of hours in a year, not the number of minutes).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant