Skip to content

Commit

Permalink
Merge pull request #14862 from terraform-providers/td-rds-cluster-end…
Browse files Browse the repository at this point in the history
…point

resource/rds_cluster_endpoint: add Create Timeout
  • Loading branch information
anGie44 authored Aug 28, 2020
2 parents e1b13fc + 1939143 commit d697785
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aws/resource_aws_rds_cluster_endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import (
)

const (
AWSRDSClusterEndpointCreateTimeout = 30 * time.Minute
AWSRDSClusterEndpointRetryDelay = 5 * time.Second
AWSRDSClusterEndpointRetryMinTimeout = 3 * time.Second
)
Expand Down Expand Up @@ -104,7 +105,7 @@ func resourceAwsRDSClusterEndpointCreate(d *schema.ResourceData, meta interface{

d.SetId(endpointId)

err = resourceAwsRDSClusterEndpointWaitForAvailable(d.Timeout(schema.TimeoutDelete), d.Id(), conn)
err = resourceAwsRDSClusterEndpointWaitForAvailable(AWSRDSClusterEndpointCreateTimeout, d.Id(), conn)
if err != nil {
return err
}
Expand Down

0 comments on commit d697785

Please sign in to comment.