Skip to content

Commit

Permalink
fix: Share example (#673)
Browse files Browse the repository at this point in the history
  • Loading branch information
alldoami authored Sep 7, 2021
1 parent cc8eb58 commit e9126a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 20 deletions.
13 changes: 3 additions & 10 deletions docs/resources/share.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
```

Expand Down
13 changes: 3 additions & 10 deletions examples/resources/snowflake_share/resource.tf
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit e9126a9

Please sign in to comment.