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"},
|
Pending: []string{"creating", "backing-up", "modifying"},
|
||||||
Target: "available",
|
Target: "available",
|
||||||
Refresh: DBInstanceStateRefreshFunc(rs.ID, conn),
|
Refresh: DBInstanceStateRefreshFunc(rs.ID, conn),
|
||||||
Timeout: 10 * time.Minute,
|
Timeout: 20 * time.Minute,
|
||||||
MinTimeout: 10 * time.Second,
|
MinTimeout: 10 * time.Second,
|
||||||
Delay: 30 * time.Second, // Wait 30 secs before starting
|
Delay: 30 * time.Second, // Wait 30 secs before starting
|
||||||
}
|
}
|
||||||
|
@ -175,7 +175,7 @@ func resource_aws_db_instance_destroy(
|
||||||
"modifying", "deleting", "available"},
|
"modifying", "deleting", "available"},
|
||||||
Target: "",
|
Target: "",
|
||||||
Refresh: DBInstanceStateRefreshFunc(s.ID, conn),
|
Refresh: DBInstanceStateRefreshFunc(s.ID, conn),
|
||||||
Timeout: 10 * time.Minute,
|
Timeout: 20 * time.Minute,
|
||||||
MinTimeout: 10 * time.Second,
|
MinTimeout: 10 * time.Second,
|
||||||
Delay: 30 * time.Second, // Wait 30 secs before starting
|
Delay: 30 * time.Second, // Wait 30 secs before starting
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue