Difference between revisions of "Aws ec2 create-vpc-peering-connection"
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}} | ||
− | |||
− | |||
[[Category:AWS]] | [[Category:AWS]] |
Latest revision as of 12:55, 30 January 2023
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]
- VPC peering,
aws ec2 [ create-vpc-peering-connection | accept-vpc-peering-connection | describe-vpc-peering-connections | accept-vpc-peering-connection ]
AWS VPC
:aws ec2 vpc
,AWS::EC2::VPC
,aws ec2 [ create-vpc
|describe-vpcs
|describe-vpc-peering-connections
|aws ec2 create-vpc-peering-connection | modify-vpc-attribute | create-vpc-endpoint ]
Advertising: