HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

terraform logout — Log out from a remote host. See also: `terraform login`. More information: <https://developer.hashic

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandfromcliterraform logoutlogouthostremote

Problem

How to use the terraform logout command: Log out from a remote host. See also: terraform login. More information: <https://developer.hashicorp.com/terraform/cli/commands/logout>.

Solution

terraform logout — Log out from a remote host. See also: terraform login. More information: <https://developer.hashicorp.com/terraform/cli/commands/logout>.

Log out from HCP Terraform (app.terraform.io):
terraform logout


Log out from a specific hostname:
terraform logout {{hostname}}

Code Snippets

Log out from HCP Terraform (app.terraform.io)

terraform logout

Log out from a specific hostname

terraform logout {{hostname}}

Context

tldr-pages: common/terraform logout

Revisions (0)

No revisions yet.