Skip to content

Commit e6a708c

Browse files
feat: add bigtable change stream retention documentation (#8335) (#15163)
Signed-off-by: Modular Magician <[email protected]>
1 parent a348aee commit e6a708c

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.changelog/8335.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

google/services/bigtable/resource_bigtable_table.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func ResourceBigtableTable() *schema.Resource {
9999
Optional: true,
100100
Computed: true,
101101
ValidateFunc: verify.ValidateDuration(),
102-
Description: `Duration to retain change stream data for the table. Set to 0 to disable.`,
102+
Description: `Duration to retain change stream data for the table. Set to 0 to disable. Must be between 1 and 7 days.`,
103103
},
104104
},
105105
UseJSONNumber: true,

website/docs/r/bigtable_table.html.markdown

+4
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ resource "google_bigtable_table" "table" {
5050
column_family {
5151
family = "family-second"
5252
}
53+
54+
change_stream_retention = "24h0m0s"
5355
}
5456
```
5557

@@ -72,6 +74,8 @@ to delete/recreate the entire `google_bigtable_table` resource.
7274

7375
* `deletion_protection` - (Optional) A field to make the table protected against data loss i.e. when set to PROTECTED, deleting the table, the column families in the table, and the instance containing the table would be prohibited. If not provided, deletion protection will be set to UNPROTECTED.
7476

77+
* `change_stream_retention` - (Optional) Duration to retain change stream data for the table. Set to 0 to disable. Must be between 1 and 7 days.
78+
7579
-----
7680

7781
`column_family` supports the following arguments:

0 commit comments

Comments
 (0)