From b7d0b222bbd345cb35222b9f05f2b950c00bbde8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Cie=C5=9Blak?= Date: Thu, 16 Nov 2023 15:07:19 +0100 Subject: [PATCH] Fix grants example (#2197) --- docs/resources/grant_privileges_to_role.md | 1 + .../resources/snowflake_grant_privileges_to_role/resource.tf | 1 + 2 files changed, 2 insertions(+) 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 } }