Commit d6f8411c authored by James Massara's avatar James Massara

Adds support for adding tags to the AMI

parent 096a64ad
......@@ -68,7 +68,7 @@ func (s *stepCreateAMI) Run(state map[string]interface{}) multistep.StepAction {
// Add tags to AMI
if s.Tags != nil {
ui.Say(fmt.Sprintf("Add tags to AMI (%s)...", createResp.ImageId))
ui.Say(fmt.Sprintf("Adding tags to AMI (%s)...", createResp.ImageId))
amiId := []string{createResp.ImageId}
_, err := ec2conn.CreateTags(amiId, s.Tags)
if err != nil {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment