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
695 B
Markdown
Raw Normal View History

---
# Code generated by make gen. DO NOT EDIT.
title: "`coder 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
| Property | Value |
|----------|------------------|
| Type | <code>int</code> |
2023-03-23 17:42:20 -05:00
Specify a workspace build to target by name. Defaults to latest.
### -n, --no-build
| Property | Value |
|----------|-------------------|
| Type | <code>bool</code> |
Update the state without triggering a workspace build. Useful for state-only migrations.