Skip to content

BigAl/packer-inspec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Packer + Inspec

Packer workflow integrating Inspec testing

About

This work is is test bed to improve our Amazon Linux AMI build workflow

Usage

Example usage: Validate Template make validate SUBNETID=subnet-123456ab

Build AMI make build-ami SUBNETID=subnet-123456ab

Validate & Build make all SUBNETID=subnet-123456ab

Cleanup make clean

Notes

ssh_private_key_file does not appear to work as documented hence it need's to be used with ssh_keypair_name and the key-pair needs to be present on AWS.

Requires

  • Packer
  • Inspec
  • Generation of ssh key file as ssh_key_packer
  • Import of key-pair to AWS as name packer-insepc

About

Testing packer AMI's with inspec

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published