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-30 20:44:17 +02:00
|
|
|
description: "The terraform env command is a deprecated form of the terraform workspace command."
|
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.
|