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
privilege USAGE will ge granted on schema TF_NAME from DB TF_DB for a role TF_ROLE
Actual Behavior
plan error:
wflake_schema_grant.schema_grant,
│ on main.tf line 190, in resource "snowflake_schema_grant" "schema_grant":
│ 190: on_future = false
│
│ "on_future": conflicts with schema_name
When I remove on_future then plan shows following errors:
ider "registry.terraform.io/snowflake-labs/snowflake" planned an invalid value for snowflake_schema_grant.schema_grant.enable_multiple_grants: planned value
│ cty.False for a non-computed attribute.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced invalid plan
│
│ Provider "registry.terraform.io/snowflake-labs/snowflake" planned an invalid value for snowflake_schema_grant.schema_grant.on_all: planned value cty.False for a
│ non-computed attribute.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced invalid plan
│
│ Provider "registry.terraform.io/snowflake-labs/snowflake" planned an invalid value for snowflake_schema_grant.schema_grant.on_future: planned value cty.False
│ for a non-computed attribute.
So complains in race.
Steps to Reproduce
terraform plan
How much impact is this issue causing?
High
Logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
@makos81
Hey,
I'm kind of confused because the title mentions snowflake_grant_privileges_to_role, but in the configuration, the snowflake_schema_grant is used, but I'll try to help as those error messages look familiar.
You didn't provide the Terraform CLI version, but If you are using an old one I would bump it to at least (as far as I remember) version 1.1.5. I may not work with the older versions as there were some breaking changes.
If that's not the case, please provide more info (Terraform CLI version, TF configuration that doesn't work for you, stack trace).
In fact I tested both snowflake_grant_privileges_to_role and snowflake_schema_grant, both did not work. My TR CLI is 0.15.3. I will upgrade it to latest version and try
Terraform CLI and Provider Versions
0.82.0
Terraform Configuration
Expected Behavior
privilege USAGE will ge granted on schema TF_NAME from DB TF_DB for a role TF_ROLE
Actual Behavior
plan error:
wflake_schema_grant.schema_grant,
│ on main.tf line 190, in resource "snowflake_schema_grant" "schema_grant":
│ 190: on_future = false
│
│ "on_future": conflicts with schema_name
When I remove on_future then plan shows following errors:
ider "registry.terraform.io/snowflake-labs/snowflake" planned an invalid value for snowflake_schema_grant.schema_grant.enable_multiple_grants: planned value
│ cty.False for a non-computed attribute.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced invalid plan
│
│ Provider "registry.terraform.io/snowflake-labs/snowflake" planned an invalid value for snowflake_schema_grant.schema_grant.on_all: planned value cty.False for a
│ non-computed attribute.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced invalid plan
│
│ Provider "registry.terraform.io/snowflake-labs/snowflake" planned an invalid value for snowflake_schema_grant.schema_grant.on_future: planned value cty.False
│ for a non-computed attribute.
So complains in race.
Steps to Reproduce
terraform plan
How much impact is this issue causing?
High
Logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: