Merge pull request #4395 from moorichardmoo/givevoldelerror

Output error causing ebs volume deletion failure
This commit is contained in:
Matthew Hooker 2017-01-13 11:40:43 -08:00 committed by GitHub
commit 71ff14abc0
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@ func (s *stepCleanupVolumes) Cleanup(state multistep.StateBag) {
_, err := ec2conn.DeleteVolume(&ec2.DeleteVolumeInput{VolumeId: aws.String(k)})
if err != nil {
ui.Say(fmt.Sprintf("Error deleting volume: %s", k))
ui.Say(fmt.Sprintf("The error is: %s", err))
}
}