Ensure Alibaba Cloud OSS bucket has versioning enabled

Error: Alibaba Cloud OSS bucket has versioning disabled

Bridgecrew Policy ID: BC_ALI_GENERAL_3
Checkov Check ID: CKV_ALI_10
Severity: LOW

Alibaba Cloud OSS bucket has versioning disabled

Description

Fix - Buildtime - Terraform

resource "alicloud_oss_bucket" "pass" {
  bucket = "bucket-123-versioning"
  acl    = "private"

  versioning {
    status = "Enabled"
  }
}

Did this page help you?