rclone to manage versioned objects and delete markers.
Example usage
Schema
Required
bucket(String) The bucket on which to enable or suspend versioning.
Optional
versioning_configuration(Block, Optional) (see below for nested schema)
Nested Schema for versioning_configuration
Required:
status(String) Versioning state of the bucket. Valid values: Enabled, Suspended, or Disabled. Disabled should only be used when creating or importing resources that correspond to unversioned S3 buckets since the S3 API does not allow setting an Enabled/Suspended bucket to Disabled.