Upped the RDS instance creation/destroy timeout to 20 minutes as it regularly takes 12+ minutes to create
This commit is contained in:
parent
a14da63a39
commit
16b4dd44c1
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue