From 07e43bcc190fea9e9477aff89141d86f5cebdddb Mon Sep 17 00:00:00 2001 From: Rob Genova Date: Sun, 25 Jun 2017 11:09:05 -0700 Subject: [PATCH] reformat Packer README --- terraform/aws/packer/README.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/terraform/aws/packer/README.md b/terraform/aws/packer/README.md index cbc1ab5a7..00d5b55a3 100644 --- a/terraform/aws/packer/README.md +++ b/terraform/aws/packer/README.md @@ -1,10 +1,18 @@ # Build an Amazon machine image with Packer -[Packer](https://www.packer.io/intro/index.html) is HashiCorp's open source tool for creating identical machine images for multiple platforms from a single source configuration. The Terraform templates included in this repo reference a publicly avaialble Amazon machine image (AMI) by default. The Packer build configuration used to create the public AMI is included [here](./packer.json). If you wish to customize it and build your own private AMi, follow the instructions below. +[Packer](https://www.packer.io/intro/index.html) is HashiCorp's open source tool +for creating identical machine images for multiple platforms from a single +source configuration. The Terraform templates included in this repo reference a +publicly avaialble Amazon machine image (AMI) by default. The Packer build +configuration used to create the public AMI is included [here](./packer.json). +If you wish to customize it and build your own private AMi, follow the +instructions below. ## Pre-requisites -See the pre-requisites listed [here](../../README.md). If you did not use the included Vagrantfile to bootstrap a staging environment, you will need to [install Packer](https://www.packer.io/intro/getting-started/install.html). +See the pre-requisites listed [here](../../README.md). If you did not use the +included Vagrantfile to bootstrap a staging environment, you will need to +[install Packer](https://www.packer.io/intro/getting-started/install.html). Set environment variables for your AWS credentials if you haven't already: @@ -13,7 +21,8 @@ $ export AWS_ACCESS_KEY_ID=[ACCESS_KEY_ID] $ export AWS_SECRET_ACCESS_KEY=[SECRET_ACCESS_KEY] ``` -After you make your modifications to `packer.json`, execute the following command to build the AMI: +After you make your modifications to `packer.json`, execute the following +command to build the AMI: ```bash packer build packer.json