--- # Code generated by make gen. DO NOT EDIT. title: "`coder state push`" description: Push a Terraform state file to a workspace. --- Push a Terraform state file to a workspace. ## Usage ```console coder state push [flags] ``` ## Options ### -b, --build | Property | Value | |----------|------------------| | Type | int | Specify a workspace build to target by name. Defaults to latest. ### -n, --no-build | Property | Value | |----------|-------------------| | Type | bool | Update the state without triggering a workspace build. Useful for state-only migrations.