diff --git a/docs/resources/grant_privileges_to_role.md b/docs/resources/grant_privileges_to_role.md index 6bdebbb328..1251b7ae83 100644 --- a/docs/resources/grant_privileges_to_role.md +++ b/docs/resources/grant_privileges_to_role.md @@ -129,6 +129,7 @@ resource "snowflake_grant_privileges_to_role" "g11" { role_name = snowflake_role.r.name on_schema_object { all { + object_type_plural = "TABLES" in_database = snowflake_database.d.name } } diff --git a/examples/resources/snowflake_grant_privileges_to_role/resource.tf b/examples/resources/snowflake_grant_privileges_to_role/resource.tf index 3877f97426..e748bd7e26 100644 --- a/examples/resources/snowflake_grant_privileges_to_role/resource.tf +++ b/examples/resources/snowflake_grant_privileges_to_role/resource.tf @@ -114,6 +114,7 @@ resource "snowflake_grant_privileges_to_role" "g11" { role_name = snowflake_role.r.name on_schema_object { all { + object_type_plural = "TABLES" in_database = snowflake_database.d.name } }