1. terraform 계정 생성
  2. git 레파지토리를 이용해 workspace 생성
  3. terraform organization 생성
  4. cmd 에서 terraform login
C:\\Users\\Administrator>terraform login
Terraform will request an API token for [app.terraform.io](<http://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:
C:\\Users\\Administrator\\AppData\\Roaming\\terraform.d\\credentials.tfrc.json

Do you want to proceed?
Only 'yes' will be accepted to confirm.

Enter a value: yes

---

Terraform must now open a web browser to the tokens page for [app.terraform.io](<http://app.terraform.io/>).

If a browser does not open this automatically, open the following URL to proceed:
[<https://app.terraform.io/app/settings/tokens?source=terraform-login>](<https://app.terraform.io/app/settings/tokens?source=terraform-login>)

---

Generate a token using your browser, and copy-paste it into this prompt.

Terraform will store the token in plain text in the following file
for use by subsequent commands:
C:\\Users\\Administrator\\AppData\\Roaming\\terraform.d\\credentials.tfrc.json

Token for [app.terraform.io](<http://app.terraform.io/>):
Enter a value:

Retrieved token for user dsfsdf

---

                                  -
                                  -----                           -
                                  ---------                      --
                                  ---------  -                -----
                                   ---------  ------        -------
                                     -------  ---------  ----------
                                        ----  ---------- ----------
                                          --  ---------- ----------

Welcome to Terraform Cloud!                     -  ---------- -------
---  ----- ---
Documentation: [terraform.io/docs/cloud](<http://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>](<https://github.com/hashicorp/tfc-getting-started.git>)
$ cd tfc-getting-started
$ scripts/setup.sh

C:\Users\Administrator\AppData\Roaming\terraform.d\credentials.tfrc.json 파일이 생성되었습니다.

Untitled

  1. AWS AccessKey, SecretAccessKey 생성

Untitled

Untitled

Untitled