Skip to content

Commit

Permalink
Update set-up-vpc-peering-connections.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hfxsd committed May 13, 2024
1 parent e3a6775 commit b67c18d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tidb-cloud/set-up-vpc-peering-connections.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ Use either of the following two options to approve and configure the VPC peering
aws ec2 describe-route-tables --region "$app_region" --filters Name=vpc-id,Values="$app_vpc_id" --query 'RouteTables[*].RouteTableId' --output text | tr "\t" "\n" | while read row
do
app_route_table_id="$row"
aws ec2 create-route --route-table-id "$app_route_table_id" --destination-cidr-block "$tidbcloud_project_cidr" --vpc-peering-connection-id "$pcx_tidb_to_app_id"
aws ec2 create-route --region "$app_region" --route-table-id "$app_route_table_id" --destination-cidr-block "$tidbcloud_project_cidr" --vpc-peering-connection-id "$pcx_tidb_to_app_id"
done
```

Expand Down

0 comments on commit b67c18d

Please sign in to comment.