Difference between revisions of "Aws ec2 create-vpc-peering-connection"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by 2 users not shown)
Line 3: Line 3:
  
 
  aws ec2 create-vpc-peering-connection --peer-vpc-id YOUR_FROM_VPC_ID --vpc-id YOUR_TO_VPC_ID
 
  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 ==
 
== Related ==
 
* <code>[[aws ec2 describe-vpc-peering-connections]]</code>
 
* <code>[[aws ec2 describe-vpc-peering-connections]]</code>
 +
* [[Terraform resource]]: <code>[[Terraform resource: aws_vpc_peering_connection|aws_vpc_peering_connection]]</code>
  
 
== See also ==
 
== See also ==
 
* {{VPC peering}}
 
* {{VPC peering}}
* {{aws ec2 create}}
 
 
* {{aws ec2 vpc}}
 
* {{aws ec2 vpc}}
  
 
[[Category:AWS]]
 
[[Category:AWS]]

Latest revision as of 12:55, 30 January 2023

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[edit]

See also[edit]

Advertising: