Init

up init

Scaffold a starter up.yaml config file

Synopsis

Write a minimal up.yaml in the current directory with an empty project, no registries, no nodes, and no services. Edit it to describe your infrastructure, then run up apply.

Use –project to set the project name up front.

up init [flags]

Examples

  # Write up.yaml for a project called myapp
  up init --project myapp

  # Write to a specific path
  up init -f infra/up.yaml --project myapp

Options

  -f, --file string      path to write (default "up.yaml")
  -p, --project string   project name

Options inherited from parent commands

  -o, --output string   output format: table, json, yaml (list commands only) (default "table")
  -q, --quiet           suppress output
  -v, --verbose count   enable debug output (-v debug, -vv trace)