diff --git a/main.tf b/main.tf index 6b2a927..1215e96 100644 --- a/main.tf +++ b/main.tf @@ -40,7 +40,7 @@ module "snowflake_default_role" { name = each.key name_scheme = merge( local.default_role_naming_scheme, - lookup(each.value, "naming_scheme", {}) + lookup(each.value, "name_scheme", {}) ) role_ownership_grant = lookup(each.value, "role_ownership_grant", "SYSADMIN") @@ -67,7 +67,7 @@ module "snowflake_custom_role" { name = each.key name_scheme = merge( local.default_role_naming_scheme, - lookup(each.value, "naming_scheme", {}) + lookup(each.value, "name_scheme", {}) ) role_ownership_grant = lookup(each.value, "role_ownership_grant", "SYSADMIN")