You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
│ Error: Unsupported argument
│
│ on ....\modules\pcsect\snowflake-shares.tf line 306, in resource "snowflake_grant_privileges_to_share" "function_grant":
│ 306: on_function = "${snowflake_database.db.name}.${snowflake_schema.schema.name}.${snowflake_function.function.name}(VARCHAR)"
│
│ An argument named "on_function" is not expected here.
Steps to Reproduce
Run terraform apply
(Requires the necessary db, schema and function to exist)
Terraform CLI Version
1.8.3
Terraform Provider Version
0.93.0
Terraform Configuration
Category
category:grants
Object type(s)
resource:grant_privileges_to_share
Expected Behavior
Usage on the function is granted to the share
Actual Behavior
Got this error:
│ Error: Unsupported argument
│
│ on ....\modules\pcsect\snowflake-shares.tf line 306, in resource "snowflake_grant_privileges_to_share" "function_grant":
│ 306: on_function = "${snowflake_database.db.name}.${snowflake_schema.schema.name}.${snowflake_function.function.name}(VARCHAR)"
│
│ An argument named "on_function" is not expected here.
Steps to Reproduce
Run
terraform apply
(Requires the necessary db, schema and function to exist)
How much impact is this issue causing?
Medium
Logs
No response
Additional Information
According to provider docs (https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest/docs/resources/grant_privileges_to_share)
on_function
is a supported argument.Would you like to implement a fix?
The text was updated successfully, but these errors were encountered: