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

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 +
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 ==
 +
* <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}}
 
* {{aws ec2 vpc}}
 
* {{aws ec2 vpc}}
* {{aws ec2 create}}
 
* {{VPC peering}}
 
  
 
[[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: