Updated on 2026-07-24 GMT+08:00

VPC Peering Status Check

Rule Details

Table 1 Rule details

Parameter

Description

Rule Name

vpc-peering-status-check

Identifier

VPC Peering Status Check

Description

If the status of a VPC peering connection is not "ACTIVE", this VPC peering connection is non-compliant.

Tag

vpc

Trigger Type

Configuration change

Filter Type

vpc.peerings

Rule Parameters

None

Application Scenarios

A VPC peering connection enables two VPCs in the same region to communicate using private IP addresses. The VPCs to be peered can be in the same account or different accounts, but must be in the same region.

If account A initiates a request to create a VPC peering connection with a VPC in account B, the VPC peering connection takes effect only after account B accepts the request.

Solution

Check abnormal VPC peering connections. If the VPC peering connection is no longer used, delete it. If it is still needed, restore it.

Rule Logic

  • If the status of a VPC peering connection is not "ACTIVE", this VPC peering connection is non-compliant.
  • If the status of a VPC peering connection is "ACTIVE", this VPC peering connection is compliant.