Skip to main content

VPC Peering Connection

A VPC (Virtual Private Cloud) Peering Connection is a networking connection between two VPCs that enables you to route traffic between them privately. Instances in either VPC can communicate with each other as if they are within the same network. This capability can be especially useful for connecting resources across different regions or accounts. For further details, you can refer to the official AWS VPC Peering documentation.

Terraform Mappings:

  • aws_vpc_peering_connection.id
  • aws_vpc_peering_connection_accepter.id
  • aws_vpc_peering_connection_options.vpc_peering_connection_id

Supported Methods​

  • GET: Get a VPC Peering Connection by ID
  • LIST: List all VPC Peering Connections
  • SEARCH:

ec2-vpc​

A VPC Peering Connection is associated with EC2 VPCs, as it is a network connection between two distinct VPCs. By establishing a peering connection, you enable traffic between the linked VPCs, allowing resources hosted in one VPC to communicate directly with resources in another.