bump the time we wait for RunInstances to succeed
This commit is contained in:
parent
482b7c603c
commit
29444aee87
|
@ -470,7 +470,7 @@ func resourceAwsInstanceCreate(d *schema.ResourceData, meta interface{}) error {
|
|||
log.Printf("[DEBUG] Run configuration: %s", runOpts)
|
||||
|
||||
var runResp *ec2.Reservation
|
||||
err = resource.Retry(15*time.Second, func() *resource.RetryError {
|
||||
err = resource.Retry(30*time.Second, func() *resource.RetryError {
|
||||
var err error
|
||||
runResp, err = conn.RunInstances(runOpts)
|
||||
// IAM instance profiles can take ~10 seconds to propagate in AWS:
|
||||
|
|
Loading…
Reference in New Issue