Skip to content

Commit ff2752c

Browse files
author
Artem Vovchenko
committed
fix: map unmapped schema properties
update min tf version
1 parent b2b3748 commit ff2752c

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

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)