diff --git a/internal/service/elasticache/global_replication_group.go b/internal/service/elasticache/global_replication_group.go index bd539cdd431..aab6e8acf3d 100644 --- a/internal/service/elasticache/global_replication_group.go +++ b/internal/service/elasticache/global_replication_group.go @@ -163,7 +163,7 @@ func resourceGlobalReplicationGroupCreate(d *schema.ResourceData, meta interface d.SetId(aws.StringValue(output.GlobalReplicationGroup.GlobalReplicationGroupId)) if _, err := WaitGlobalReplicationGroupAvailable(conn, d.Id(), GlobalReplicationGroupDefaultCreatedTimeout); err != nil { - return fmt.Errorf("error waiting for ElastiCache Global Replication Group (%s) availability: %w", d.Id(), err) + return fmt.Errorf("error waiting for ElastiCache Global Replication Group (%s) creation: %w", d.Id(), err) } return resourceGlobalReplicationGroupRead(d, meta) diff --git a/internal/service/elasticache/replication_group.go b/internal/service/elasticache/replication_group.go index ca9163a0736..79b1a8e5837 100644 --- a/internal/service/elasticache/replication_group.go +++ b/internal/service/elasticache/replication_group.go @@ -589,7 +589,7 @@ func resourceReplicationGroupCreate(d *schema.ResourceData, meta interface{}) er // to be fully added to the global replication group. // API calls to the global replication group can be made in any region. if _, err := WaitGlobalReplicationGroupAvailable(conn, v.(string), GlobalReplicationGroupDefaultCreatedTimeout); err != nil { - return fmt.Errorf("error waiting for ElastiCache Global Replication Group (%s) availability: %w", v, err) + return fmt.Errorf("error waiting for ElastiCache Global Replication Group (%s) to be available: %w", v, err) } } diff --git a/internal/service/elasticache/wait.go b/internal/service/elasticache/wait.go index 6eae06744bd..52e98023a5e 100644 --- a/internal/service/elasticache/wait.go +++ b/internal/service/elasticache/wait.go @@ -150,7 +150,7 @@ func WaitCacheClusterDeleted(conn *elasticache.ElastiCache, cacheClusterID strin } const ( - GlobalReplicationGroupDefaultCreatedTimeout = 20 * time.Minute + GlobalReplicationGroupDefaultCreatedTimeout = 25 * time.Minute GlobalReplicationGroupDefaultUpdatedTimeout = 40 * time.Minute GlobalReplicationGroupDefaultDeletedTimeout = 20 * time.Minute