Skip to main content

PolarDB Cluster in VPC

ID: rule:aliyun:polardb-dbcluster-in-vpc
Severity: medium
IaC Types: ROS, Terraform

Description

Ensures PolarDB cluster is deployed in a VPC by setting vswitch_id.

Reason for Violation

VPC provides better network isolation and security.

Recommendation

Set vswitch_id for the PolarDB cluster to deploy it within a VPC.

Resource Types

  • ROS: ALIYUN::POLARDB::DBCluster
  • Terraform: alicloud_polardb_cluster