Skip to content

Commit eb48cd8

Browse files
authored
Merge pull request #19 from data-platform-hq/fix/map-unmapped-schema-properties
fix: map unmapped schema properties
2 parents b2b3748 + 42a8acd commit eb48cd8

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ module "unity_catalog" {
8080

8181
| Name | Version |
8282
|------|---------|
83-
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >=1.0.0 |
83+
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | ~>1.3 |
8484
| <a name="requirement_databricks"></a> [databricks](#requirement\_databricks) | ~>1.0 |
8585

8686
## Providers

main.tf

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ locals {
33

44
schemas_config_mapped = {
55
for config in flatten([for object in var.catalog_config : [for schema in object.schema_configs : {
6-
catalog = object.catalog_name
7-
schema = schema.schema_name
8-
schema_owner = schema.schema_owner
9-
schema_grants = try(coalescelist(schema.schema_custom_grants, object.schema_default_grants), [])
6+
catalog = object.catalog_name
7+
schema = schema.schema_name
8+
schema_owner = schema.schema_owner
9+
schema_grants = try(coalescelist(schema.schema_custom_grants, object.schema_default_grants), [])
10+
schema_comment = schema.schema_comment
11+
schema_properties = schema.schema_properties
1012
}]]) : "${config.catalog}:${config.schema}" => config
1113
}
1214
}

versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
terraform {
2-
required_version = ">=1.0.0"
2+
required_version = "~>1.3"
33

44
required_providers {
55
databricks = {

0 commit comments

Comments
 (0)