S3 buckets should have versioning enabled

Description

Enable versioning on S3 buckets to keep multiple versions of an object in one bucket.

Rationale

Versioning-enabled buckets help recover objects in the case of accidental deletion or overwriting.

Remediation

From the console

Follow the Enabling versioning on buckets AWS documentation to enable bucket versioning within the S3 console.

From the command line

Follow the Enabling versioning on buckets AWS documentation to enable bucket versioning with the AWS CLI.

PREVIEWING: may/unit-testing