Difference between revisions of "Terraform login"

From wikieduonline
Jump to navigation Jump to search
 
(9 intermediate revisions by 2 users not shown)
Line 3: Line 3:
  
 
  terraform login
 
  terraform login
  Terraform will request an API token for app.terraform.io using your browser.
+
  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
 
  If login is successful, Terraform will store the token in plain text in
Line 23: Line 23:
 
                                                           -----
 
                                                           -----
 
                                                               -
 
                                                               -
 +
 +
 +
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]]
  
  
<code>New to TFC? Follow these steps to instantly apply an example configuration:</code>
 
 
*<code>$ [[git clone]] https://github.com/hashicorp/tfc-getting-started.git</code>
 
*<code>$ cd tfc-getting-started</code>
 
*<code>$ [[scripts/setup.sh]]</code>
 
  
 +
== Errors ==
 +
* <code>[[Error: Required token could not be found]]</code>
 +
* [[Error: Service discovery failed for app.terraform.io]]
 +
* [[Error: Failed to read organization]]
  
 
== Related ==
 
== Related ==
 +
* [[TF_CLOUD_ORGANIZATION]]
 
* [[Terraform Cloud]]
 
* [[Terraform Cloud]]
 
* <code>[[backend.tf]]</code>
 
* <code>[[backend.tf]]</code>
* [[Error: Required token could not be found]]
+
* [[Deploy EKS cluster using Terraform]]
* [[Error: Service discovery failed for app.terraform.io]]
+
* [[terraform workspaces]]
  
 
== See also ==
 
== See also ==

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]

Related[edit]

See also[edit]

Advertising: