Files
coder/docs/reference/cli/state_push.md
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
661 B
Markdown
Raw Normal View History

---
# Code generated by make gen. DO NOT EDIT.
title: state push
description: Push a Terraform state file to a workspace.
---
2023-03-23 17:42:20 -05:00
<!-- DO NOT EDIT | GENERATED CONTENT -->
Push a Terraform state file to a workspace.
## Usage
```console
coder state push [flags] <workspace> <file>
```
## Options
### -b, --build
| | |
|------|------------------|
2023-03-23 17:42:20 -05:00
| 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.