Terraform Installation
Terraform is an infrastructure as code tool that enables you to safely and predictably provision and manage infrastructure in any cloud.
OS version
Update
Import a key
Offcial key add
Update && Install terraform
check terraform installed or not
Make one directory
Create one file terraform.tf and put this below content for to create EC2
Initialize terraform
check script is valid or not
terraform format
after formating keys and values are adjusting
Prepare a script for prepare a plan
terraform apply
See instance created
see script execution state maintain one file terraform.tfstate
terraform destroy(terminate last created instance)
Parameteraised a script; a terraform concept called variable