Skip to content

Commit 2910efe

Browse files
author
Artem Vovchenko
committed
fix: map unmapped schema properties
1 parent b2b3748 commit 2910efe

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
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
}

0 commit comments

Comments
 (0)