tag all volumes
This commit is contained in:
parent
800351b7ca
commit
f5bf588393
|
@ -37,9 +37,7 @@ func (s *stepTagEBSVolumes) Run(state multistep.StateBag) multistep.StepAction {
|
||||||
tags := common.ConvertToEC2Tags(s.VolumeRunTags)
|
tags := common.ConvertToEC2Tags(s.VolumeRunTags)
|
||||||
|
|
||||||
_, err := ec2conn.CreateTags(&ec2.CreateTagsInput{
|
_, err := ec2conn.CreateTags(&ec2.CreateTagsInput{
|
||||||
Resources: []*string{
|
Resources: volumeIds,
|
||||||
instance.BlockDeviceMappings[0].Ebs.VolumeId,
|
|
||||||
},
|
|
||||||
Tags: tags,
|
Tags: tags,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue