Skip to content

Commit ec21739

Browse files
committed
Only use stale reads if spanner is enabled.
1 parent 12abc44 commit ec21739

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

infra/dcp/modules/cdc/locals.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ locals {
7474
},
7575
{
7676
name = "USE_STALE_READS"
77-
value = "true"
77+
value = var.use_spanner ? "true" : "false"
7878
}
7979
]
8080

0 commit comments

Comments
 (0)