Closed nosterlu closed 1 month ago
Hi @nosterlu 👋
I believe this is the same problem, as in https://github.com/Snowflake-Labs/terraform-provider-snowflake/issues/3073#issuecomment-2392250469. We've released a fix in v0.97 (release, migration guide). Please upgrade to this version.
Yes the new version worked! Sorry for not testing, I did not see that bugfix in the notes!
Terraform CLI Version
1.8.5
Terraform Provider Version
0.96.0
Terraform Configuration
Category
category:resource
Object type(s)
resource:view
Expected Behavior
The view to be re-created with DC column added
Actual Behavior
terraform ran below SQL, but missed adding the DC column in the first part...
SQL compilation error: Invalid column definition list
Steps to Reproduce
Update with this
then with this
How much impact is this issue causing?
Medium
Logs
No response
Additional Information
Only way to fix is to first comment out the tables and run terraform to destroy, then to un-comment and run terraform to re-create.
Would you like to implement a fix?