Announcing Terraform Login
We’re happy to announce Terraform Login, a new command available in the Terraform CLI as of Terraform 0.12.21. Terraform Login, and its counterpart Terraform Logout, have been added to Terraform to simplify the connection of the Terraform CLI to Terraform Cloud.
Terraform Login will guide users through the process of obtaining a Terraform Cloud user token and configuring the Terraform CLI to connect to their workspaces.
Terraform Login will connect the Terraform remote backend to Terraform Cloud by default. It can also be used to connect to Terraform Enterprise by specifying the hostname following the login command.
» Connecting to TFE example command
$ terraform login private.example.com
Terraform Login is one of the many steps we’re taking as we strengthen and streamline Terraform workflows across all our tools. For questions or suggestions concerning Terraform login, please join us in our community forum.
Give Terraform Login a go and jump into Terraform Cloud today.
Sign up for the latest HashiCorp news
More blog posts like this one

HCP Terraform introduces Hold Your Own Key (HYOK)
HCP Terraform customers can now gain greater control over access to secrets within Terraform artifacts such as state and plan files with Hold Your Own Key (HYOK).

Enforce private module registry usage in Terraform with Sentinel
Learn how to use Sentinel policy as code in HCP Terraform to ensure developers are only using approved infrastructure modules.

Build secure, AI-driven workflows with Terraform and Vault MCP servers
At AWS Summit New York, HashiCorp introduced new capabilities that bring Terraform, Vault, and Vault Radar into the age of AI agents — advancing secure, automated infrastructure through composable, agentic systems.