cURL
curl --request POST \ --url https://console.cloud.timescale.com/public/api/v1/projects/{project_id}/vpcs/{vpc_id}/peerings \ --header 'Content-Type: application/json' \ --data ' { "peer_account_id": "acc-12345", "peer_region_code": "aws-us-east-1", "peer_vpc_id": "1234567890" } '
{ "id": "1234567890", "peer_account_id": "acc-12345", "peer_region_code": "aws-us-east-1", "peer_vpc_id": "1234567890", "provisioned_id": "1234567890", "status": "active", "error_message": "VPC not found" }
Creates a new VPC peering connection.
The unique identifier of the project.
"rp1pz7uyae"
The unique identifier of the VPC.
"1234567890"
"acc-12345"
"aws-us-east-1"
VPC peering created successfully.
"active"
"VPC not found"
Was this page helpful?