Skip to content

Commit

Permalink
fix: default descriptor name
Browse files Browse the repository at this point in the history
  • Loading branch information
dgniewek committed Aug 5, 2024
1 parent 2650829 commit e88344d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module "snowflake_default_role" {
name = each.key
comment = lookup(each.value, "comment", null)
enabled = local.create_default_roles && lookup(each.value, "enabled", true)
descriptor_name = lookup(each.value, "descriptor_name", "snowflake-role")
descriptor_name = lookup(each.value, "descriptor_name", "snowflake-database-role")

granted_to_roles = lookup(each.value, "granted_to_roles", [])
granted_to_database_roles = lookup(each.value, "granted_to_database_roles", [])
Expand All @@ -69,7 +69,7 @@ module "snowflake_custom_role" {
name = each.key
comment = lookup(each.value, "comment", null)
enabled = module.this.enabled && lookup(each.value, "enabled", true)
descriptor_name = lookup(each.value, "descriptor_name", "snowflake-role")
descriptor_name = lookup(each.value, "descriptor_name", "snowflake-database-role")

granted_to_roles = lookup(each.value, "granted_to_roles", [])
granted_to_database_roles = lookup(each.value, "granted_to_database_roles", [])
Expand Down

0 comments on commit e88344d

Please sign in to comment.