2017-05-31 02:46:12 +02:00
|
|
|
---
|
|
|
|
layout: "docs"
|
|
|
|
page_title: "Command: env"
|
2018-12-21 03:18:13 +01:00
|
|
|
sidebar_current: "docs-commands-envcmd"
|
2017-05-31 02:46:12 +02:00
|
|
|
description: |-
|
|
|
|
The terraform env command is a deprecated, legacy form of "terraform workspace".
|
|
|
|
---
|
|
|
|
|
|
|
|
# Command: env
|
|
|
|
|
|
|
|
The `terraform env` command is deprecated.
|
2021-01-19 22:43:01 +01:00
|
|
|
[The `terraform workspace` command](/docs/cli/commands/workspace/index.html)
|
2017-05-31 02:46:12 +02:00
|
|
|
should be used instead.
|