Purpose: To demonstrate how to create an Application EC2 AMI using Packer within a Jenkinsfile. This job is run after each successful build. The Base image is an Amazon Linux Image. Packer uses that Base image to create the final Application AMI as part of the pipeline.
Before running this repo, update the following items to reflect your repo information and envrionment
- Update the GIT URL to reflect your own Git Hub Repository
- Verify that the AWS Base AMI ID (ami-099592454c308b00f) specified on ami.json file is still available on AWS. If not, update the AMI ID with the latest AWS AMI Image ID.
- (optional) Update Webhooks on Git Hub to reflect your Jenkins URL or IP