From ad44da70706a3a951a214f597ccb9d2e8ef7a202 Mon Sep 17 00:00:00 2001 From: James Massara Date: Thu, 1 Aug 2013 21:28:25 -0700 Subject: [PATCH] Updated with tags info --- website/source/docs/builders/amazon-ebs.html.markdown | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/website/source/docs/builders/amazon-ebs.html.markdown b/website/source/docs/builders/amazon-ebs.html.markdown index 4c47a4de7..6b741aaf6 100644 --- a/website/source/docs/builders/amazon-ebs.html.markdown +++ b/website/source/docs/builders/amazon-ebs.html.markdown @@ -81,6 +81,8 @@ Optional: * `vpc_id` (string) - If launching into a VPC subnet, Packer needs the VPC ID in order to create a temporary security group within the VPC. +* `tags` (array of key/value pairs) - Tags applied to the AMI. + ## Basic Example Here is a basic example. It is completely valid except for the access keys: @@ -94,7 +96,11 @@ Here is a basic example. It is completely valid except for the access keys: "source_ami": "ami-de0d9eb7", "instance_type": "t1.micro", "ssh_username": "ubuntu", - "ami_name": "packer-quick-start {{.CreateTime}}" + "ami_name": "packer-quick-start {{.CreateTime}}", + "tags": [ + { "key": "myTagName1", "value": "myTagValue1" }, + { "key": "myTagName2", "value": "myTagValue2" } + ] }