Create a VPC Peering
POST/projects/{project_id}/vpcs/{vpc_id}/peerings
Creates a new VPC peering connection. This is an asynchronous operation.
Create a VPC Peering
curl https://console.cloud.tigerdata.com/public/api/v1/projects/$PROJECT_ID/vpcs/$VPC_ID/peerings \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $TIGER_CLOUD_API_KEY" \
-d '{
"peer_account_id": "acc-12345",
"peer_region_code": "us-east-1",
"peer_vpc_id": "1234567890"
}'{
"id": "1234567890",
"peer_account_id": "acc-12345",
"peer_region_code": "us-east-1",
"peer_vpc_id": "1234567890",
"status": "ACTIVE",
"created": "2025-01-15T09:30:00Z",
"error_message": "VPC not found",
"provisioned_id": "pcx-0123456789abcdef0"
}Returns Examples
{
"id": "1234567890",
"peer_account_id": "acc-12345",
"peer_region_code": "us-east-1",
"peer_vpc_id": "1234567890",
"status": "ACTIVE",
"created": "2025-01-15T09:30:00Z",
"error_message": "VPC not found",
"provisioned_id": "pcx-0123456789abcdef0"
}