mirror of
https://github.com/coder/coder.git
synced 2026-06-04 21:48:22 +00:00
2e2d0dde44
backport #21374 to 2.29 feat(cli): add --no-build flag to state push for state-only updates #21374
29 lines
547 B
Markdown
Generated
29 lines
547 B
Markdown
Generated
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
|
# state push
|
|
|
|
Push a Terraform state file to a workspace.
|
|
|
|
## Usage
|
|
|
|
```console
|
|
coder state push [flags] <workspace> <file>
|
|
```
|
|
|
|
## Options
|
|
|
|
### -b, --build
|
|
|
|
| | |
|
|
|------|------------------|
|
|
| Type | <code>int</code> |
|
|
|
|
Specify a workspace build to target by name. Defaults to latest.
|
|
|
|
### -n, --no-build
|
|
|
|
| | |
|
|
|------|-------------------|
|
|
| Type | <code>bool</code> |
|
|
|
|
Update the state without triggering a workspace build. Useful for state-only migrations.
|