Incorrect escaping of singlequotes in view comments #1049
Labels
bug
Used to mark issues with provider's incorrect behavior
category:resource
resource:view
Issue connected to the snowflake_view resource
Provider Version 0.35.0
Terraform Version 1.1.2
Describe the bug
When specifying a comment in a snowflake_view resource which includes a single quote character ('), this doesn't get escaped properly, resulting in a semi-broken SQL, which is getting repeatedly replaced on each terraform run.
Expected behavior
Escape the single quote, or at least detect it as an illegal character and fail.
Code samples and commands
Additional context
This is a bug of the annoying type, as even with the incorrect SQL structure, the view is working, just tf produces additional output logs and recreates the resource repeatedly.
The text was updated successfully, but these errors were encountered: