From e9126a9757a7cf5c0578ea0d274ec489440132ca Mon Sep 17 00:00:00 2001 From: Allison Doami Date: Tue, 7 Sep 2021 16:48:48 -0700 Subject: [PATCH] fix: Share example (#673) --- docs/resources/share.md | 13 +++---------- examples/resources/snowflake_share/resource.tf | 13 +++---------- 2 files changed, 6 insertions(+), 20 deletions(-) diff --git a/docs/resources/share.md b/docs/resources/share.md index 3e8190bcd4..a5e0cc1401 100644 --- a/docs/resources/share.md +++ b/docs/resources/share.md @@ -13,16 +13,9 @@ description: |- ## Example Usage ```terraform -resource snowflake_share share { - database_name = "db" - schema_name = "schema" - stage_name = "stage" - - privilege = "USAGE" - roles = ["role1", "role2"] - shares = ["share1", "share2"] - - with_grant_option = false +resource snowflake_share test { + name = "share_name" + comment = "cool comment" } ``` diff --git a/examples/resources/snowflake_share/resource.tf b/examples/resources/snowflake_share/resource.tf index 3cf7c36421..d004e8210f 100644 --- a/examples/resources/snowflake_share/resource.tf +++ b/examples/resources/snowflake_share/resource.tf @@ -1,11 +1,4 @@ -resource snowflake_share share { - database_name = "db" - schema_name = "schema" - stage_name = "stage" - - privilege = "USAGE" - roles = ["role1", "role2"] - shares = ["share1", "share2"] - - with_grant_option = false +resource snowflake_share test { + name = "share_name" + comment = "cool comment" }