Build, change, and destroy AWS infrastructure using Terraform. Step-by-step, command-line tutorials will walk you through the Terraform basics for the first time.
Tutorial: AWS Terraform Tutorial
init tf project
terraform init
validate tf files
terraform fmt
apply tf files to AWS EC2 Instance
terraform apply
destroy the EC2 Instance after apply
terraform destroy
display output
terraform output