Files
coder/docs/reference/cli/state_push.md
Kacper Sawicki 2e2d0dde44 feat(cli): backport #21374 to 2.29 (#21561)
backport #21374 to 2.29

feat(cli): add --no-build flag to state push for state-only updates
#21374
2026-01-20 15:46:46 -06:00

547 B
Generated

state push

Push a Terraform state file to a workspace.

Usage

coder state push [flags] <workspace> <file>

Options

-b, --build

Type int

Specify a workspace build to target by name. Defaults to latest.

-n, --no-build

Type bool

Update the state without triggering a workspace build. Useful for state-only migrations.