diff --git a/func/sanitech_data_catalog.tf b/func/sanitech_data_catalog.tf new file mode 100644 index 0000000..0659cd0 --- /dev/null +++ b/func/sanitech_data_catalog.tf @@ -0,0 +1,26 @@ +provider "databricks" { + alias = "example" + host = "https://example.databricks.com" + token = "example_token" +} + +resource "databricks_table_metadata" "example" { + provider = databricks.example + table_name = "example_table" + description = "Example table in Databricks" + table_type = "manual" + + columns { + name = "id" + description = "Example id column" + data_type = "integer" + is_nullable = false + } + + columns { + name = "name" + description = "Example name column" + data_type = "string" + is_nullable = false + } +}