Difference between revisions of "Terraform login"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(31 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{lowercase}} | |
+ | <code>[[terraform]] login</code> | ||
+ | terraform login | ||
+ | Terraform will request an API token for [[app.terraform.io]] using your browser. | ||
+ | |||
+ | If login is successful, Terraform will store the token in plain text in | ||
+ | the following file for use by subsequent commands: | ||
+ | /root/[[.terraform.d/]][[credentials.tfrc.json]] | ||
+ | |||
+ | Do you want to proceed? | ||
+ | Only 'yes' will be accepted to confirm. | ||
+ | |||
+ | Enter a value: | ||
+ | |||
+ | .../... | ||
+ | Welcome to Terraform Cloud! - ---------- ------- | ||
+ | --- ----- --- | ||
+ | Documentation: terraform.io/docs/cloud -------- - | ||
+ | ---------- | ||
+ | ---------- | ||
+ | --------- | ||
+ | ----- | ||
+ | - | ||
+ | |||
+ | |||
+ | New to [[TFC]]? Follow these steps to instantly apply an example configuration: | ||
+ | |||
+ | $ [[git clone]] https://github.com/hashicorp/tfc-getting-started.git | ||
+ | $ cd tfc-getting-started | ||
+ | $ [[scripts/setup.sh]] | ||
+ | |||
+ | |||
+ | |||
+ | == Errors == | ||
+ | * <code>[[Error: Required token could not be found]]</code> | ||
+ | * [[Error: Service discovery failed for app.terraform.io]] | ||
+ | * [[Error: Failed to read organization]] | ||
+ | |||
+ | == Related == | ||
+ | * [[TF_CLOUD_ORGANIZATION]] | ||
+ | * [[Terraform Cloud]] | ||
+ | * <code>[[backend.tf]]</code> | ||
+ | * [[Deploy EKS cluster using Terraform]] | ||
+ | * [[terraform workspaces]] | ||
== See also == | == See also == | ||
− | * {{ | + | * {{tf login}} |
+ | * {{Terraform Cloud}} | ||
[[Category:Terraform]] | [[Category:Terraform]] |
Latest revision as of 20:28, 11 February 2024
terraform login
terraform login Terraform will request an API token for app.terraform.io using your browser. If login is successful, Terraform will store the token in plain text in the following file for use by subsequent commands: /root/.terraform.d/credentials.tfrc.json Do you want to proceed? Only 'yes' will be accepted to confirm. Enter a value: .../... Welcome to Terraform Cloud! - ---------- ------- --- ----- --- Documentation: terraform.io/docs/cloud -------- - ---------- ---------- --------- ----- - New to TFC? Follow these steps to instantly apply an example configuration: $ git clone https://github.com/hashicorp/tfc-getting-started.git $ cd tfc-getting-started $ scripts/setup.sh
Errors[edit]
Error: Required token could not be found
- Error: Service discovery failed for app.terraform.io
- Error: Failed to read organization
Related[edit]
- TF_CLOUD_ORGANIZATION
- Terraform Cloud
backend.tf
- Deploy EKS cluster using Terraform
- terraform workspaces
See also[edit]
- Terraform Cloud:
terraform login, credentials.tfrc.json, TF_CLOUD_ORGANIZATION, app.terraform.io
- Terraform Cloud (TFC), Terraform Cloud Agents (Business version),
terraform login
,execution modes
,terraform_remote_state
, Terraform cloud block, Terraform Cloud Workflows, Terraform organization,TF_CLOUD_ORGANIZATION
, Dynamic Provider Credentials, Bootstrapping trust between a TFC workspace and AWS
Advertising: