Skip to content

Commit

Permalink
Update documentation for procedure_grant and function_grant as re…
Browse files Browse the repository at this point in the history
…quested
  • Loading branch information
emancu committed May 19, 2022
1 parent cb3b6eb commit cf5b089
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 20 deletions.
18 changes: 8 additions & 10 deletions docs/resources/function_grant.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,14 @@ resource snowflake_function_grant grant {
schema_name = "schema"
function_name = "function"
arguments = [
{
"name": "a",
"type": "array"
},
{
"name": "b",
"type": "string"
}
]
arguments {
"name": "a",
"type": "array"
}
arguments {
"name": "b",
"type": "string"
}
return_type = "string"
privilege = "USAGE"
Expand Down
18 changes: 8 additions & 10 deletions docs/resources/procedure_grant.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,14 @@ resource snowflake_procedure_grant grant {
schema_name = "schema"
procedure_name = "procedure"
arguments = [
{
"name": "a",
"type": "array"
},
{
"name": "b",
"type": "string"
}
]
arguments {
name = "arg1"
type = "VARCHAR"
}
arguments {
name = "arg2"
type = "DATE"
}
return_type = "string"
privilege = "select"
Expand Down

0 comments on commit cf5b089

Please sign in to comment.