diff --git a/mintlify/tutorials/manage-data-masking-with-terraform.mdx b/mintlify/tutorials/manage-data-masking-with-terraform.mdx index 75e486e3d..bfe603b61 100644 --- a/mintlify/tutorials/manage-data-masking-with-terraform.mdx +++ b/mintlify/tutorials/manage-data-masking-with-terraform.mdx @@ -388,10 +388,17 @@ resource "bytebase_policy" "masking_exception_policy" { ``` +If there is no `expire_timestamp` specified, the exemption will never expire. + `2027-07-30T16:11:49Z` is an ISO 8601 UTC timestamp. Our system uses PostgreSQL to store metadata, where this value is stored as a `timestamptz`. + +If you want to apply the exemption to all databases, you can skip the `database`, `table`, and `column` fields. + + + ## Step 7: Apply Final Configuration and Test Apply the masking exceptions and test everything: diff --git a/mintlify/tutorials/manage-databases-with-terraform.mdx b/mintlify/tutorials/manage-databases-with-terraform.mdx index adacdb780..c7d8334fc 100644 --- a/mintlify/tutorials/manage-databases-with-terraform.mdx +++ b/mintlify/tutorials/manage-databases-with-terraform.mdx @@ -115,6 +115,13 @@ resource "bytebase_instance" "prod" { } ``` + +`sync_databases` is a list of database names to sync. By default, all databases are synced. + +If you don't want to sync all databases, you can set something like `sync_databases = ["db1", "db2"]`. + + + **Understanding the Configuration** - **depends_on**: Ensures environments from Part 1 exist first