Ensure Alibaba Cloud Transparent Data Encryption is Enabled on instance

Error: Alibaba Cloud Transparent Data Encryption is disabled on instance

Bridgecrew Policy ID: BC_ALI_LOGGING_1
Checkov Check ID: CKV_ALI_22
Severity: LOW

Alibaba Cloud Transparent Data Encryption is disabled on instance

Description

Fix - Buildtime - Terraform

resource "alicloud_db_instance" "pass" {
  engine              = "MySQL"
  engine_version      = "5.6"
  instance_type   = "rds.mysql.t1.small"
  instance_storage = "10"
  tde_status          = "Enabled"
  parameters = [{
    name  = "innodb_large_prefix"
    value = "ON"
    }, {
    name  = "connect_timeout"
    value = "50"
  }]
}