Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 1.42 KB

README.md

File metadata and controls

18 lines (14 loc) · 1.42 KB

sample_infra_terraform

Overview: This is a sample terraform project to bring up and destroy an AWS instance and helps you to understand how to provision Infrastructure using Terraform.

Prerequisites/Requirements:

Instructions on using the sample project

  • Clone this project.
  • Save your AWS credentials (Access Key ID and Secret Access Key) in terraform.tfvars file. you can go to this link to know how to get these.
  • Create a key pair for your AWS region using this link. Download your pem key and paste it in aws-ssh-key.pem.
  • In terraform.tfvars put your AWS region that you selected in the above step.
  • Select an instance type suitable for your need from this list and add it in terraform.tfvars.
  • Now to provision AWS instance you can enable this project on Shippable in Infra tab. Click on Provision, this should provision an EC2 instance on your selected AWS region.

Documentation