2026-08-11 11:22:55 -04:00
|
|
|
---
|
|
|
|
|
# Code generated by make gen. DO NOT EDIT.
|
|
|
|
|
title: state pull
|
|
|
|
|
description: Pull a Terraform state file from a workspace.
|
|
|
|
|
---
|
|
|
|
|
|
2023-03-23 17:42:20 -05:00
|
|
|
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
|
|
|
|
|
|
|
|
|
Pull a Terraform state file from a workspace.
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
```console
|
|
|
|
|
coder state pull [flags] <workspace> [file]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Options
|
|
|
|
|
|
|
|
|
|
### -b, --build
|
|
|
|
|
|
|
|
|
|
| | |
|
2025-01-03 18:12:59 +05:00
|
|
|
|------|------------------|
|
2023-03-23 17:42:20 -05:00
|
|
|
| Type | <code>int</code> |
|
|
|
|
|
|
|
|
|
|
Specify a workspace build to target by name. Defaults to latest.
|