Difference between revisions of "Terraform login"

From wikieduonline
Jump to navigation Jump to search
Line 24: Line 24:
 
                                                               -
 
                                                               -
  
 
+
<code>New to TFC? Follow these steps to instantly apply an example configuration:</code>
+
New to TFC? Follow these steps to instantly apply an example configuration:
 
+
*<code>$ [[git clone]] https://github.com/hashicorp/tfc-getting-started.git</code>
+
$ [[git clone]] https://github.com/hashicorp/tfc-getting-started.git
*<code>$ cd tfc-getting-started</code>
+
$ cd tfc-getting-started
*<code>$ [[scripts/setup.sh]]</code>
+
$ [[scripts/setup.sh]]
  
  

Revision as of 16:31, 21 March 2023

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


Related

See also

Advertising: