Skip to content

Currently following Nanisha Jha's course on Terraform

Notifications You must be signed in to change notification settings

JayNoblez/terraform-learn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project belongs to a Udemy Course

Complete Terraform Course - Beginner to Advanced 2021

Pre-Requisites for Udemy Course to follow along

  • Code Editor, where we write TF Configuration Code e.g. Visual Studio Code: https://code.visualstudio.com/download
  • Account on GitlLab, because our Terraform's Configuration Code is hosted on GitLab
  • An AWS Account, because we are automating AWS infrastructure with Terraform

Useful Links

Versions used in the course

  • Terraform - 1.1.6
  • AWS provider - 4.2.0
  • VPC module - 3.12.0

Commands used in the Course

initialize

terraform init

preview terraform actions

terraform plan

apply configuration with variables

terraform apply -var-file terraform-dev.tfvars

destroy a single resource

terraform destroy -target aws_vpc.myapp-vpc

destroy everything fromtf files

terraform destroy

show resources and components from current state

terraform state list

show current state of a specific resource/data

terraform state show aws_vpc.myapp-vpc    

set avail_zone as custom tf environment variable - before apply

export TF_VAR_avail_zone="eu-west-3a"

More Information: AWS Services and components we use or create with Terraform

About

Currently following Nanisha Jha's course on Terraform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published