Skip to content

Commit 090d3fd

Browse files
author
protobuf-ci-cd
committed
fix(rdb): add pagination support for ACL rules
1 parent 40022f0 commit 090d3fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/services/rdb/acl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func ResourceRdbACLRead(ctx context.Context, d *schema.ResourceData, m any) diag
122122
res, err := rdbAPI.ListInstanceACLRules(&rdb.ListInstanceACLRulesRequest{
123123
Region: region,
124124
InstanceID: instanceID,
125-
}, scw.WithContext(ctx))
125+
}, scw.WithAllPages(), scw.WithContext(ctx))
126126
if err != nil {
127127
if httperrors.Is404(err) {
128128
d.SetId("")

0 commit comments

Comments
 (0)