Upped the RDS instance creation/destroy timeout to 20 minutes as it regularly takes 12+ minutes to create

This commit is contained in:
Rob Costanzo 2014-10-23 14:27:38 -07:00
parent a14da63a39
commit 16b4dd44c1
1 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@ func resource_aws_db_instance_create(
Pending: []string{"creating", "backing-up", "modifying"},
Target: "available",
Refresh: DBInstanceStateRefreshFunc(rs.ID, conn),
Timeout: 10 * time.Minute,
Timeout: 20 * time.Minute,
MinTimeout: 10 * time.Second,
Delay: 30 * time.Second, // Wait 30 secs before starting
}
@ -175,7 +175,7 @@ func resource_aws_db_instance_destroy(
"modifying", "deleting", "available"},
Target: "",
Refresh: DBInstanceStateRefreshFunc(s.ID, conn),
Timeout: 10 * time.Minute,
Timeout: 20 * time.Minute,
MinTimeout: 10 * time.Second,
Delay: 30 * time.Second, // Wait 30 secs before starting
}