Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 796 Bytes

README.md

File metadata and controls

35 lines (20 loc) · 796 Bytes

tfhelloworld

Terraform Hello World basics for people who starts to learn it

What we need before start

  1. AWS cli installed and user access configured
  2. Terraform installed (feel free to use this guide: https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli)
  3. Logged-in to AWS UI console (optionally)

Main steps

  1. Navigate to the repo's root folder in your CLI

  2. Init the repo:

     $ terraform init
    
  3. Run to formate and check your code:

     $ terraform fmt
    
  4. Run to see the plan (dry run):

     $ terraform plan
    
  5. Run to apply the desired configuration:

     $ terraform apply
    
  6. Run to destroy:

     $ terraform destroy
    

The next steps

Go to official registry to find plugins and modules: https://registry.terraform.io/