providers/aws: timeout in state change conf

pull/15/head
Jack Pearkes 12 years ago
parent 2663bb993a
commit fd4eeac7dc

@ -85,6 +85,7 @@ func resource_aws_instance_destroy(
Pending: []string{"pending", "running", "shutting-down", "stopped", "stopping"},
Target: "terminated",
Refresh: InstanceStateRefreshFunc(ec2conn, s.ID),
Timeout: 10 * time.Minute,
}
_, err := stateConf.WaitForState()

Loading…
Cancel
Save