- Terraform v0.12.5
- Terraform AWS Provider v2.20.0
For MacOS
$ brew install terraform
For Windows and Linux please check Terraform website at [terraform.io](https://www.terraform.io/intro/getting-started/install.html).
- Clone the repo in your machine.
- Edit
variables.tf
file to meet your AWS information. - Edit
global.tf
file and change the key pair information. - Open the terminal.
- Go to your repo location.
- Excuede this command to check the Infrastructure information
terraform plan
. - Then execute this command to start deploying the Infrastructure
terraform apply
. - This example will provision
1x EC2 instance Ubuntu 18.04 LTS
witht2.nano
size. - Drink coffee and wait for the Infrastructure to finish and the script will let you know when it's done :).
- Have nice day :P.