Skip to main content
Version: 0.207

serve

terrabuild serve starts serveable projects from the current workspace selection.

USAGE: terrabuild serve [--help] [--workspace <path>] [--configuration <name>]
[--environment <name>] [--variable <variable>=<value>]
[--label [<labels>...]] [--type [<types>...]]
[--project [<projects>...]]

Examples​

terrabuild serve
terrabuild serve --project web
terrabuild serve --environment dev

Use filters like --project, --label, or --type to narrow which projects are served.

See shared selection options for configuration, environment, variables, and filter behavior. serve selects the serve target automatically, uses local cache only, and enables retry of failed cached tasks. Projects must define that target to be served.