@c6fc/spellcraft-packer
v1.0.0
Published
A plugin to expose Hashicorp Packer via @c6fc/spellcraft
Readme
SpellCraft Packer Integration
Seamlessly integrate HashiCorp Packer into your SpellCraft SpellFrames. This plugin allows you to define Packer configurations using Jsonnet, render them with SpellCraft, and then use Packer to build your machine images or other artifacts.
Features
- New
spellcraft buildcommand: Extends the SpellCraft CLI with a dedicated command to render Packer configurations and immediately trigger a Packer build. - Jsonnet-Powered Packer Configs: Leverage the power of Jsonnet to create dynamic and reusable Packer templates.
- Automated Workflow: Streamlines the process from configuration definition to artifact creation.
- Packer Initialization Control: Option to skip
packer initif your environment or workflow handles it separately.
Prerequisites
- SpellCraft CLI: You need to have SpellCraft installed and a SpellCraft project set up.
- Node.js & npm: For installing this plugin.
Installation
Install the plugin as a dev dependency in your SpellCraft project:
npm install --save @c6fc/spellcraft-packer