Skip to content

sideeq/iac-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Infrastructure as Code using Terraform

Requirements

  • Terraform v0.12.5
  • Terraform AWS Provider v2.20.0


Install Terraform

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).

Using the Script

  1. Clone the repo in your machine.
  2. Edit variables.tf file to meet your AWS information.
  3. Edit global.tf file and change the key pair information.
  4. Open the terminal.
  5. Go to your repo location.
  6. Excuede this command to check the Infrastructure information terraform plan.
  7. Then execute this command to start deploying the Infrastructure terraform apply.
  8. This example will provision 1x EC2 instance Ubuntu 18.04 LTS with t2.nano size.
  9. Drink coffee and wait for the Infrastructure to finish and the script will let you know when it's done :).
  10. Have nice day :P.

About

[WIP]: Infrastructure as Code using Terraform

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages