moondev / tap

Repository from Github https://github.commoondev/tapRepository from Github https://github.commoondev/tap

tap: Terraform Ansible Packer

Example deployment pipeline

Requirements

Terraform, Ansible, Packer, and Python 2.7 on the path

Usage

Tested on OSX

  1. Add AWS key and secret to aws.json

  2. Start pipeline with python deploy.py

Overview

deploy.py coordinates the different stages of the deployment pipeline.

Bake base image

Bakes base image with packer and terraform, only re-bakes if there is a change to base-ami.json

Bake deployment image

Bakes base image with packer by combining artifact workdir/index.html with base apache image, only re-bakes if there is a change to workdir/index.html

Deploy

Terraform sets up asg, load balancer, security group

About


Languages

Language:HCL 51.5%Language:Python 45.1%Language:HTML 3.4%