aminueza / terraform-provider-minio

Terraform provider for managing MinIO S3 buckets and IAM Users.
https://registry.terraform.io/providers/aminueza/minio
GNU Affero General Public License v3.0
233 stars 69 forks source link

[Feature_request] Set Expire delete marker on noncurrent_version_expiration_days life cycle management rule #542

Open sdejong629 opened 10 months ago

sdejong629 commented 10 months ago

Prerequisites

Description

Add Expire delete marker when using noncurrent_version_expiration_days in minio_ilm_policy (default is disabled)

Steps to Reproduce

  1. Add a minio_ilm_policy resource to a bucket
  2. Set the noncurrent_version_expiration_days in the rule to a number of days
  3. Apply configuration

Expected behavior:

I can manage the setting for Expire delete marker of a lifecycle rule for non-concurrent-items to remove empty delete markers

Actual behavior: [What actually happens]

The default setting for Expire delete marker is used and set to disabled (default)

Reproduces how often: [What percentage of the time does it reproduce?] 100%

Versions

Using 2.0.0

Additional Information

this is a feature request to keep things tidy and not keep unneeded delete markers