- Creates AMI with Git, Nginx, Rbenv and Ruby.
- The Ruby version can be specified in
variables.json
.
packer build -var-file=variables.json template.json | tee output/packer_output.txt
Additionally, run build_ami.sh
to outpur packer ami id in a tfvars file. Which can be feeded to terraform.