Skip to content

sroomberg/packerpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

packerpy


I built this module to help automate packer builds in python code. I found it to be nearly impossible to scale packer builds for a pipeline or automated environment without forking the code from packer's golang implementation.


Requirements

Installation

pip install PackerBuilder (PyPi)

Documentation

PackerBuilder: This class is extendable (as shown in packerpy.examples.ami_builder) in order to allow for a custom implementation of any packer builder plugin. The PackerBuilder will generate a json packer configuration file that can be executed by the packer cli.

PackerClient: This is a utility class built to interact with the packer cli.

models: The models submodule contains objects that map to packer config blocks in the .pkr.json file that gets generated.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages