Skip to content

ezgh compute route-tables create

Create a route table.

Updated View as Markdown
ezgh compute route-tables create <name> --vpc <vpc> [--description d] [--tag k=v…] [flags]

Create a custom route table in a VPC, with only its local routes. Associate subnets with it (ezgh compute subnets update <subnet> --route-table <table>) and add routes with routes set.

Part of ezgh compute route-tables.

Examples

ezgh compute route-tables create private --vpc main
ezgh compute route-tables routes set private 0.0.0.0/0 --target eni_…
ezgh compute subnets update app --route-table private

Flags

Flag Type Default Description
--description string what it’s for
--tag string, repeatable a tag, key=value (repeat)
--vpc string the VPC (ID, UUID or name; required)

This command also takes the global flags.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close