Skip to content

Bash Script which integrates Packer and Terraform for building an AWS Infra

Notifications You must be signed in to change notification settings

ManuGeorge96/terraform-packer-automated-using-bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Generic badge

terraform + packer automated using bash

About

This repo consisit of a Bash Script which integrates both Terraform code and Packer code for building an Infra. Terraform code will create Security Group, Key Pair, and EC2 Instance under the dfault VPC, Packer code creates a Custom AMI based on the provision script provided, the bash script also allows you to select which base AMI is required while building the AMI, right now I have included only two options Amazon Linux and Ubuntu.

Input Data's Required

  • Below data's needs to be provided while performing the task
    • Access Key
    • Secret Key
    • Region
    • Instance Type
    • Provision File Path
    • Key-Pair Name
    • List of Ingress Ports

Outline

Unix

How To Use

  •  git clone https://github.com/ManuGeorge96/terraform-packer-automated-using-bash.git
  •  cd terraform-packer-automated-using-bash/
  •  ./mains.sh  

Sample Outputs

Unix


Unix


Unix


Unix


Unix


Unix

About

Bash Script which integrates Packer and Terraform for building an AWS Infra

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published