jkordish / packer_ansible_aws

Packer+Ansible AWS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instructions

Using Packer and Ansible to repackage custom AWS EC2 AMIs.

Put this together as I didn't really find great examples for doing exactly what I wanted to. Hopefully this can help others.

  1. cp aws-creds-example.json aws-creds.json
  • replace values in aws-creds.json
  1. packer build -var-file=aws-creds.json templates/base.json
  2. profit

note: you may need to remove the subnet_id and the aws_vpc_id

About

Packer+Ansible AWS

License:MIT License


Languages

Language:Shell 100.0%