Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 839 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 839 Bytes

Packer Plugin Hashicups

This repo is part of the Packer Learn collection. The intent of this plugin is to help you create your own packer plugin.

Refer to the documentation to learn about the Hashicups plugin and how it works.

Test sample configuration

First, you will need the demo hashicups api up and running.

$ make run-hashicups-api

This will run docker-compose up -d in example/hashicups_api.

Sign up to the hashicups api.

$ curl -X POST localhost:19090/signup -d '{"username":"education", "password":"test123"}'

Then, navigate to the example directory.

$ cd example

Run the following command to initialize and build the sample configuration.

$ packer init . && packer build .