Skip to content

Releases: aminueza/terraform-provider-minio

v3.2.1

12 Nov 11:55
d613d26
Compare
Choose a tag to compare

What's Changed

  • Preserve custom policy when changing name or description of a service account by @ribetm in #597

Full Changelog: v3.2.0...v3.2.1

v3.2.0

11 Nov 22:09
5fa48b3
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.1.0...v3.2.0

v3.1.0

10 Nov 23:45
5dc95e9
Compare
Choose a tag to compare

What's Changed

  • Add name, description and expiration support for service accounts by @ribetm in #594

New Contributors

Full Changelog: v3.0.0...v3.1.0

v3.0.0

09 Nov 11:28
a3dadb6
Compare
Choose a tag to compare

What's Changed

  • Breaking change: Update MinIO ILM policy with improved validation, noncurrent version support, and better schema structure by @SoulKyu in #588
  • Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 by @dependabot in #589
  • Remove force_destroy check from user update to prevent unintended deletions by @felladrin in #591
  • Update module to v3 by @felladrin in #593

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: v2.5.1...v3.0.0

v2.5.1

14 Oct 14:32
851697a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.5.0...v2.5.1

v2.5.0

30 Aug 08:47
df3b2d5
Compare
Choose a tag to compare

What's Changed

  • Adds LDAP user and group policy attachment resources by @ngharo in #581

New Contributors

Full Changelog: v2.4.3...v2.5.0

v2.4.3

12 Aug 16:14
b060c12
Compare
Choose a tag to compare

What's Changed

  • fix: use the id property instead of name for read ilm tier by @s-vitaliy in #579

Full Changelog: v2.4.2...v2.4.3

v2.4.2

31 Jul 09:49
c2eeaf9
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.4.1...v2.4.2

v2.4.1

25 Jul 07:55
188e959
Compare
Choose a tag to compare

What's Changed

  • Fix GCS ilm tier region using prefix string instead of region string by @maxalves in #575

New Contributors

Full Changelog: v2.4.0...v2.4.1

v2.4.0

14 Jul 17:13
a6a57d7
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.3.2...v2.4.0