mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-29 11:14:04 -04:00
@@ -278,7 +278,7 @@ func (s *StepRunSpotInstance) Run(state multistep.StateBag) multistep.StepAction
|
||||
}
|
||||
}
|
||||
|
||||
if len(volumeIds) > 0 {
|
||||
if len(volumeIds) > 0 && len(s.VolumeTags) > 0 {
|
||||
ui.Say("Adding tags to source EBS Volumes")
|
||||
tags, err := ConvertToEC2Tags(s.VolumeTags, *ec2conn.Config.Region, s.SourceAMI, s.Ctx)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user