Ensure OSS Bucket Lifecycle Rule is enabled

You can create lifecycle rules for a bucket based on the last modified time and last access time of objects in the bucket. This way, Object Storage Service (OSS) can regularly convert the storage class of the objects or delete expired objects and parts to reduce your storage costs.

Risk Level: informational
Platform: Alicloud
Spectral Rule ID: TFALCLD019

REMEDIATION

set lifecycle_rule.enabled to 'true'

lifecycle_rule {
- enabled = false
+ enabled = true
}

Read more: