Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions mintlify/tutorials/manage-data-masking-with-terraform.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -388,10 +388,17 @@ resource "bytebase_policy" "masking_exception_policy" {
```

<Note>
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`.
</Note>

<Note>
If you want to apply the exemption to all databases, you can skip the `database`, `table`, and `column` fields.
</Note>


## Step 7: Apply Final Configuration and Test

Apply the masking exceptions and test everything:
Expand Down
7 changes: 7 additions & 0 deletions mintlify/tutorials/manage-databases-with-terraform.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,13 @@ resource "bytebase_instance" "prod" {
}
```

<Note>
`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"]`.
</Note>


**Understanding the Configuration**

- **depends_on**: Ensures environments from Part 1 exist first
Expand Down