From cf5b08923f512e8512f70f64e8f5bbf5b89b2f2a Mon Sep 17 00:00:00 2001 From: Emiliano Mancuso Date: Thu, 19 May 2022 12:14:21 +0100 Subject: [PATCH] Update documentation for `procedure_grant` and `function_grant` as requested --- docs/resources/function_grant.md | 18 ++++++++---------- docs/resources/procedure_grant.md | 18 ++++++++---------- 2 files changed, 16 insertions(+), 20 deletions(-) diff --git a/docs/resources/function_grant.md b/docs/resources/function_grant.md index a493383d555..3bdb996d5a2 100644 --- a/docs/resources/function_grant.md +++ b/docs/resources/function_grant.md @@ -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" diff --git a/docs/resources/procedure_grant.md b/docs/resources/procedure_grant.md index cc7fa34f027..063764fd977 100644 --- a/docs/resources/procedure_grant.md +++ b/docs/resources/procedure_grant.md @@ -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"