diff --git a/aws/resource_aws_rds_cluster_endpoint.go b/aws/resource_aws_rds_cluster_endpoint.go index 7523e3beb51..6e830248705 100644 --- a/aws/resource_aws_rds_cluster_endpoint.go +++ b/aws/resource_aws_rds_cluster_endpoint.go @@ -14,6 +14,7 @@ import ( ) const ( + AWSRDSClusterEndpointCreateTimeout = 30 * time.Minute AWSRDSClusterEndpointRetryDelay = 5 * time.Second AWSRDSClusterEndpointRetryMinTimeout = 3 * time.Second ) @@ -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 }