Closed michaelruigrok closed 8 months ago
As well as the schema documentation I've provided, it would be good to have a proper example, however I wasn't sure how to add supplemental examples to the existing format.
resource "minio_s3_bucket" "bucket" {
bucket = "bucket"
}
resource "minio_ilm_policy" "bucket-lifecycle-rules" {
bucket = minio_s3_bucket.bucket.bucket
rule {
id = "expire-7d"
expiration = "DeleteMarker"
noncurrent_version_expiration_days = 40
}
}
Prerequisites
Description
The ilm policy resource may have its
expiration
field set to"DeleteMarker"
, however this is not documented in the Terraform docsSteps to Reproduce