mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-01 22:54:31 +00:00
23 lines
461 B
Plaintext
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`
|