Update step_create_ssm_tunnel.go
This commit is contained in:
parent
f329cb5b93
commit
aef3d24213
|
@ -37,7 +37,7 @@ func (s *StepCreateSSMTunnel) Run(ctx context.Context, state multistep.StateBag)
|
||||||
|
|
||||||
// Wait for the remote port to become available
|
// Wait for the remote port to become available
|
||||||
if s.PauseBeforeSSM > 0 {
|
if s.PauseBeforeSSM > 0 {
|
||||||
ui.Say(fmt.Sprintf("Waiting %s for establishing the SSM session...", s.PauseBeforeSSM))
|
ui.Say(fmt.Sprintf("Waiting %s before establishing the SSM session...", s.PauseBeforeSSM))
|
||||||
select {
|
select {
|
||||||
case <-time.After(s.PauseBeforeSSM):
|
case <-time.After(s.PauseBeforeSSM):
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue