[Bug]: Documentation of snowflake_grant_ownership misleading: hybrid tables are not treated separately for granting purposes. #3300
Labels
bug
Used to mark issues with provider's incorrect behavior
resource:grant_ownership
Issue connected to the snowflake_grant_ownership resource
Terraform CLI Version
1.9.2
Terraform Provider Version
1.0.0
Company Name
ProSiebenSat.1
Terraform Configuration
Category
category:resource
Object type(s)
resource:grant_ownership
Expected Behavior
HYBRID TABLES not included in the list object_type_plural
Actual Behavior
HYBRID TABLES present in the list object_type_plural
Steps to Reproduce
Grant ownership resource with:
How much impact is this issue causing?
Low
Logs
No response
Additional Information
Actually, transferring ownership of tables also transfer ownership of hybrid tables, it seems that hybrid tables are not considered separately for grants.
I think that the documentation of the resource snowflake_grant_ownership in the Terraform provider is misleading: https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest/docs/resources/grant_ownership
In the list of object_type_plural, HYBRID TABLES are mentioned. That's why I tried to transfer ownership of hybrid tables, first with terraform, then manually with SQL.
However, the GRANT OWNERSHIP statement created by Terraform doesn't work.
Try:
Would you like to implement a fix?
The text was updated successfully, but these errors were encountered: