Skip to content

Commit 396a1da

Browse files
committed
Add login for HCP EU to CLI command
1 parent e648c29 commit 396a1da

File tree

2 files changed

+24
-0
lines changed
  • content/terraform

2 files changed

+24
-0
lines changed

content/terraform/v1.13.x/docs/cli/commands/login.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,18 @@ Usage: `terraform login [hostname]`
2222
If you don't provide an explicit hostname, Terraform will assume you want to
2323
log in to HCP Terraform at `app.terraform.io`.
2424

25+
<Note>
26+
27+
If you are in an HCP Europe organization, login to the HCP Europe environment by specifying the hostname:
28+
29+
```shell-session
30+
$ terraform login app.terraform.io/eu
31+
```
32+
33+
To learn more about HCP Europe, refer to [Use HCP Terraform in Europe](/terraform/cloud-docs/europe).
34+
35+
</Note>
36+
2537
## Credentials Storage
2638

2739
By default, Terraform will obtain an API token and save it in plain text in a

content/terraform/v1.14.x (beta)/docs/cli/commands/login.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,18 @@ Usage: `terraform login [hostname]`
2222
If you don't provide an explicit hostname, Terraform will assume you want to
2323
log in to HCP Terraform at `app.terraform.io`.
2424

25+
<Note>
26+
27+
If you are in an HCP Europe organization, login to the HCP Europe environment by specifying the hostname:
28+
29+
```shell-session
30+
$ terraform login app.terraform.io/eu
31+
```
32+
33+
To learn more about HCP Europe, refer to [Use HCP Terraform in Europe](/terraform/cloud-docs/europe).
34+
35+
</Note>
36+
2537
## Credentials Storage
2638

2739
By default, Terraform will obtain an API token and save it in plain text in a

0 commit comments

Comments
 (0)