VARCHAR data type inconsistent #1271
Labels
bug
Used to mark issues with provider's incorrect behavior
category:resource
resource:table
Issue connected to the snowflake_table resource
0.47.0
The provider version you are using.
1.3.1
The version of Terraform you were using when the bug was encountered.
Describe the bug
When defining a
snowflake_table
with columns of typeVARCHAR(16777216)
it creates successfully but any subsequent terraform plans show it wants to modify the column toVARCHAR(16777216)
because the type isVARCHAR
Updating the resource definition to
VARCHAR
seems to cause the opposite effectThis causes unnecessary diffs during terraform plans
Expected behavior
From Snowflake docs
https://docs.snowflake.com/en/sql-reference/data-types-text.html#varchar
Therefore
VARCHAR
andVARCHAR(16777216)
should be synonymous and not show a diffThe text was updated successfully, but these errors were encountered: