ncloud_add_route
Add a route rule to a VPC route table in Naver Cloud Platform. Specify the route table, VPC, destination CIDR block, and target type—NAT gateway, VPC peering, or virtual gateway—to direct traffic.
Instructions
Add a route to a route table
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vpcNo | Yes | VPC number | |
| targetNo | Yes | Target instance number | |
| targetName | No | Target name | |
| routeTableNo | Yes | Route table number | |
| targetTypeCode | Yes | Target type code (NATGW, VPCPEERING, VGW) | |
| destinationCidrBlock | Yes | Destination CIDR block (e.g., 0.0.0.0/0) |