From 42f78804fe6e459ca92219c6b54a226b14e45eb0 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 20 Jul 2013 20:12:40 -0700 Subject: [PATCH] plugin/builder-amazon-instance: add the plugin --- config.go | 1 + plugin/builder-amazon-instance/main.go | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 plugin/builder-amazon-instance/main.go diff --git a/config.go b/config.go index 12a78d300..4660fad1c 100644 --- a/config.go +++ b/config.go @@ -20,6 +20,7 @@ const defaultConfig = ` "builders": { "amazon-ebs": "packer-builder-amazon-ebs", + "amazon-instance": "packer-builder-amazon-instance", "digitalocean": "packer-builder-digitalocean", "virtualbox": "packer-builder-virtualbox", "vmware": "packer-builder-vmware" diff --git a/plugin/builder-amazon-instance/main.go b/plugin/builder-amazon-instance/main.go new file mode 100644 index 000000000..fc1c66b40 --- /dev/null +++ b/plugin/builder-amazon-instance/main.go @@ -0,0 +1,10 @@ +package main + +import ( + "github.com/mitchellh/packer/builder/amazon/instance" + "github.com/mitchellh/packer/packer/plugin" +) + +func main() { + plugin.ServeBuilder(new(instance.Builder)) +}