Skip to content
Skip to Content
Coder Docs

coder state push

Push a Terraform state file to a workspace.

On this page

Push a Terraform state file to a workspace.

Usage

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

Options

Options

-b, --build

-b, --build
PropertyValue
Typeint

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

-n, --no-build

-n, --no-build
PropertyValue
Typebool

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