Skip to content

Conversation

@ecmadao
Copy link
Collaborator

@ecmadao ecmadao commented Jan 7, 2025

resource "bytebase_database_catalog" "employee_catalog" {
  depends_on = [
    bytebase_instance.test
  ]

  database = "instances/test-sample-instance/databases/employee"

  schemas {
    tables {
      name = "salary"
      columns {
        name           = "amount"
        semantic_type  = "default"
        classification = "1-1-1"
      }
      columns {
        name          = "emp_no"
        semantic_type = "default-partial"
        labels = {
          tenant = "example"
          region = "asia"
        }
      }
    }
  }
}

@ecmadao ecmadao merged commit 4e6e80b into main Jan 7, 2025
4 checks passed
@ecmadao ecmadao deleted the chore/BYT-6743 branch January 7, 2025 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants