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

Update Terraform minio to 3.2.1 #7645

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update Terraform minio to 3.2.1 #7645

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 9, 2024

This PR contains the following updates:

Package Type Update Change
minio (source) required_provider major 2.5.1 -> 3.2.1

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

aminueza/terraform-provider-minio (minio)

v3.2.1

Compare Source

What's Changed

Full Changelog: aminueza/terraform-provider-minio@v3.2.0...v3.2.1

v3.2.0

Compare Source

What's Changed

Full Changelog: aminueza/terraform-provider-minio@v3.1.0...v3.2.0

v3.1.0

Compare Source

What's Changed
New Contributors

Full Changelog: aminueza/terraform-provider-minio@v3.0.0...v3.1.0

v3.0.0

Compare Source

What's Changed
New Contributors
Guide for upgrading from v2 to v3
Breaking Changes in ILM Policy Resource

The MinIO ILM (Information Lifecycle Management) policy resource has been significantly improved with better validation and structure. The following changes require attention when upgrading:

1. Noncurrent Version Expiration Changes
  • Old: noncurrent_version_expiration_days = 5
  • New:
    noncurrent_expiration {
      days = "5d"
    }
  • Note: Days format now requires a "d" suffix.
2. Noncurrent Version Transition Changes
  • Old: noncurrent_version_transition_days = 5
  • New:
    noncurrent_transition {
      days           = "5d"
      storage_class  = "TIER_NAME"
      newer_versions = 3  # Optional
    }
3. Days Format Changes
  • All day-based fields now require the "Nd" format (e.g., "30d" instead of 30).
  • This affects:
    • transition.days
    • noncurrent_transition.days
    • noncurrent_expiration.days
4. Date Format Standardization
  • All date fields must now use the YYYY-MM-DD format.
  • Affected fields:
    • transition.date
Upgrade Steps
  1. Search your codebase for minio_ilm_policy resources.
  2. Update any noncurrent version configurations to use the new block syntax.
  3. Add a "d" suffix to all day-based values.
  4. Verify date formats are in the YYYY-MM-DD format.
  5. Run terraform plan to verify changes.
Example of Updated Configuration
Before:
resource "minio_ilm_policy" "example" {
  bucket = "mybucket"
  rule {
    id = "rule1"
    noncurrent_version_expiration_days = 5
  }
}
After:
resource "minio_ilm_policy" "example" {
  bucket = "mybucket"
  rule {
    id = "rule1"
    noncurrent_expiration {
      days = "5d"
    }
  }
}

These changes improve validation and make the configuration more consistent. While they require updates to existing configurations, they provide better error messages and prevent invalid configurations.

For assistance, please refer to the updated documentation or open an issue.

Full Changelog: aminueza/terraform-provider-minio@v2.5.1...v3.0.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from h3mmy as a code owner November 9, 2024 12:19
@renovate renovate bot added the type/major label Nov 9, 2024
@bloopy-boi bloopy-boi bot added area/terraform Changes made in the terraform directory size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Nov 9, 2024
@bloopy-boi
Copy link
Contributor

bloopy-boi bot commented Nov 9, 2024

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ COPYPASTE jscpd yes no 0.91s
✅ TERRAFORM terraform-fmt 1 0 0 0.15s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@renovate renovate bot changed the title Update Terraform minio to 3.0.0 Update Terraform minio to 3.1.0 Nov 11, 2024
@renovate renovate bot changed the title Update Terraform minio to 3.1.0 Update Terraform minio to 3.2.0 Nov 11, 2024
Signed-off-by: Zee Aslam <h3mmy@users.noreply.github.com>
@renovate renovate bot changed the title Update Terraform minio to 3.2.0 Update Terraform minio to 3.2.1 Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/terraform Changes made in the terraform directory renovate/terraform size/M Denotes a PR that changes 30-99 lines, ignoring generated files. type/major
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants