Skip to main content

Packer for python

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PackerBuilder-1.0.4.tar.gz (11.2 kB view details)

Uploaded Source

File details

Details for the file PackerBuilder-1.0.4.tar.gz.

File metadata

  • Download URL: PackerBuilder-1.0.4.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for PackerBuilder-1.0.4.tar.gz
Algorithm Hash digest
SHA256 ebaf6b24d6786229eb6a2c57b2d5a0be5a9ce955e3254b089a0fcbe6e7d04fd0
MD5 76bf6928306ad60257526a11a9f7dba9
BLAKE2b-256 8de3f58a22d2e68ae5080811e18d32b82019c5c62bf0d13dd90b90c71820057f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page