Data source snowflake_current_role
is incompatible with QUOTED_IDENTIFIERS_IGNORE_CASE=true
#2208
Labels
snowflake_current_role
is incompatible with QUOTED_IDENTIFIERS_IGNORE_CASE=true
#2208
Terraform CLI and Provider Versions
Terraform v1.6.4
on linux_amd64
Terraform Configuration
Expected Behavior
TEST_ROLE should be granted to the current role.
Actual Behavior
Current role resolves to null, so the grant fails:
Steps to Reproduce
terraform apply
How much impact is this issue causing?
Low
Logs
No response
Additional Information
In my example I set
QUOTED_IDENTIFIERS_IGNORE_CASE
as a session parameter, but in our real account it is set at the account level. Unfortunately it is outside our control.We can work around this by setting it to false in session, but we're worried about what other issues might be introduced if we inadvertently create resources with lowercase names.
The cause seems to just be the column alias used in https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/pkg/snowflake/current_role.go
The text was updated successfully, but these errors were encountered: