Skip to content

Terraform Hello World basics for people who starts to learn it

Notifications You must be signed in to change notification settings

daocorplimited/tfhelloworld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

Terraform Hello World basics for people who starts to learn it

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages