aws ec2 create-vpc-peering-connection
Requests a VPC peering connection between two VPCs: a requester VPC that you own and an accepter VPC with which to create the connection. AWS CLI reference
6 options Its page in the AWS CLI reference
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--peer-owner-idThe Amazon Web Services account ID of the owner of the accepter VPC.--peer-regionThe Region code for the accepter VPC, if the accepter VPC is located in a Region other than the Region in which you make the request.--peer-vpc-idThe ID of the VPC with which you are creating the VPC peering connection.--tag-specificationsThe tags to assign to the peering connection.--vpc-idThe ID of the requester VPC.