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"
|
2021-07-23 22:33:37 +02:00
|
|
|
description: "`terraform env` is a deprecated, legacy form of `terraform workspace`."
|
2017-05-31 02:46:12 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
# 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.
|