Using UI keypair meaningful message
This commit is contained in:
parent
e729b21212
commit
472a7820eb
|
@ -48,7 +48,7 @@ func (s *stepCreateInstance) Run(_ context.Context, state multistep.StateBag) mu
|
||||||
|
|
||||||
if keypair, ok := state.GetOk("keypair"); ok {
|
if keypair, ok := state.GetOk("keypair"); ok {
|
||||||
kp := keypair.(string)
|
kp := keypair.(string)
|
||||||
ui.Message(fmt.Sprintf("Found keypair: %s", kp))
|
ui.Message(fmt.Sprintf("Using keypair: %s", kp))
|
||||||
p.SetKeypair(kp)
|
p.SetKeypair(kp)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue