Commit b4435f68 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

builder/amazon/chroot: more valid transition states while detaching

parent 033218df
......@@ -89,7 +89,7 @@ func (s *StepAttachVolume) Cleanup(state map[string]interface{}) {
// Wait for the volume to detach
stateChange := awscommon.StateChangeConf{
Conn: ec2conn,
Pending: []string{"detaching"},
Pending: []string{"attaching", "attached", "detaching"},
StepState: state,
Target: "detached",
Refresh: func() (interface{}, string, error) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment