Working With Terraform
- In the root directory of the project run "terraform init"
- Wait all plugins to download
- Then run terraform plan to see configuration output summary
- Then run terraform apply to create 1 EC2 in Amazon Cloud , 1 Droplet in DO Cloud and 1 Resource Group ,1 Virtual Network , 1 SubNet and 1 Linux Virtual Machine
P.S.
- You have to change digital-ocean token, AWS access and secret keys , Azure VM subscription ID with yours.
Todo
- Create a full infrastructure dor AWS EC2 and Digital Ocean Droplet (Resource Group, Network, SubNet and etc.. )