We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I attempted to use the latest provider to grant usage on a dataset like so:
resource "snowflake_grant_privileges_to_account_role" "model" { privileges = ["USAGE"] account_role_name = local.account_role on_schema_object { object_type = "DATASET" object_name = "MY_DB.MY_SCHEMA.MY_DATASET" } }
But got this error:
│ Error: expected [{{} on_schema_object} {{} {{{{} 78}} 0xc000d2a3c0}} {{} object_type}] to be one of ["AGGREGATION POLICY" "ALERT" "AUTHENTICATION POLICY" "DATA METRIC FUNCTION" "DYNAMIC TABLE" "EVENT TABLE" "EXTERNAL TABLE" "FILE FORMAT" "FUNCTION" "GIT REPOSITORY" "HYBRID TABLE" "IMAGE REPOSITORY" "ICEBERG TABLE" "MASKING POLICY" "MATERIALIZED VIEW" "MODEL" "NETWORK RULE" "PACKAGES POLICY" "PASSWOR D POLICY" "PIPE" "PROCEDURE" "PROJECTION POLICY" "ROW ACCESS POLICY" "SECRET" "SERVICE" "SESSION POLICY" "SEQUENCE" "STAGE" "STREAM" "TABLE" "TAG" "TASK" "VIEW" "STREAMLIT"], got DATASET
category:grants
resource:grant_privileges_to_account_role
Add DATASET as an option for object_type within resource snowflake_grant_privileges_to_account_role
DATASET
object_type
snowflake_grant_privileges_to_account_role
Low
No response
The text was updated successfully, but these errors were encountered:
Duplicates #2807.
Sorry, something went wrong.
Closing as duplicate.
No branches or pull requests
Use Cases or Problem Statement
I attempted to use the latest provider to grant usage on a dataset like so:
But got this error:
Category
category:grants
Object type(s)
resource:grant_privileges_to_account_role
Proposal
Add
DATASET
as an option forobject_type
within resourcesnowflake_grant_privileges_to_account_role
How much impact is this issue causing?
Low
Additional Information
No response
Would you like to implement a fix?
The text was updated successfully, but these errors were encountered: