mirror of
https://github.com/hashicorp/packer.git
synced 2026-05-28 04:35:38 -04:00
add pending to allowable states while waiting for ebs instance to stop
This commit is contained in:
parent
d706147423
commit
f7a703dfb2
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ func (s *StepStopEBSBackedInstance) Run(state multistep.StateBag) multistep.Step
|
|||
// Wait for the instance to actual stop
|
||||
ui.Say("Waiting for the instance to stop...")
|
||||
stateChange := StateChangeConf{
|
||||
Pending: []string{"running", "stopping"},
|
||||
Pending: []string{"running", "pending", "stopping"},
|
||||
Target: "stopped",
|
||||
Refresh: InstanceStateRefreshFunc(ec2conn, *instance.InstanceId),
|
||||
StepState: state,
|
||||
|
|
|
|||
Loading…
Reference in a new issue