bump the time we wait for RunInstances to succeed

This commit is contained in:
clint shryock 2017-06-01 16:05:14 -05:00
parent 482b7c603c
commit 29444aee87
1 changed files with 1 additions and 1 deletions

View File

@ -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: