providers/digitalocean: be more lenient for droplets 404ing on creation

This commit is contained in:
Jack Pearkes 2015-02-26 10:00:25 -08:00
parent c180487af6
commit 8ab4d37f7c
1 changed files with 5 additions and 0 deletions

View File

@ -366,6 +366,11 @@ func WaitForDropletAttribute(
Timeout: 60 * time.Minute,
Delay: 10 * time.Second,
MinTimeout: 3 * time.Second,
// This is a hack around DO API strangeness.
// https://github.com/hashicorp/terraform/issues/481
//
NotFoundChecks: 60,
}
return stateConf.WaitForState()