builder/amazon/ebs: nicer output
This commit is contained in:
parent
4677f38882
commit
5e0da21173
|
@ -33,7 +33,7 @@ func (s *stepCreateAMI) Run(state multistep.StateBag) multistep.StepAction {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the AMI ID in the state
|
// Set the AMI ID in the state
|
||||||
ui.Say(fmt.Sprintf("AMI: %s", createResp.ImageId))
|
ui.Message(fmt.Sprintf("AMI: %s", createResp.ImageId))
|
||||||
amis := make(map[string]string)
|
amis := make(map[string]string)
|
||||||
amis[ec2conn.Region.Name] = createResp.ImageId
|
amis[ec2conn.Region.Name] = createResp.ImageId
|
||||||
state.Put("amis", amis)
|
state.Put("amis", amis)
|
||||||
|
|
Loading…
Reference in New Issue