aws ec2 create-vpc-peering-connection

From wikieduonline
Jump to navigation Jump to search

https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/create-vpc-peering-connection.html

aws ec2 create-vpc-peering-connection --peer-vpc-id YOUR_FROM_VPC_ID --vpc-id YOUR_TO_VPC_ID
An error occurred (InvalidParameterValue) when calling the CreateVpcPeeringConnection operation: Invalid value 'vpc-0e6c6xxxxx9' for peerVpcId. The value of peerVpcId needs to be different to vpcId.

Related

See also

Advertising: