If Terraform created the database/schema as “dev”.“_raw” then you either get Terraform to drop the quotes, always use uppercase, or always use quoted identifiers and lowercase names in Snowflake
Note: @Mark Estey
originally posted this reply in Slack. It might not have transferred perfectly.