Files
cheatsheet-tldr/tldr/terraform-login
2026-03-01 00:30:22 +00:00

23 lines
461 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# terraform login
> Log in to a remote host.
> See also: `terraform logout`.
> More information: <https://developer.hashicorp.com/terraform/cli/commands/login>.
- Log in to HCP Terraform (app.terraform.io):
`terraform login`
- Log in to a specific hostname:
`terraform login {{hostname}}`
- Log in to HCP Terraform Europe:
`terraform login app.terraform.io/eu`