github snowflakedb/terraform-provider-snowflake v2.21.0

4 hours ago

2.21.0 (2026-09-10)

❗ Migration guide: v2.20.x -> v2.21.0
BCR Migration guide

❗ Breaking change:

  • Rename constraint column fields in preview snowflake_iceberg_table to plural names (columns, ref_columns) (b2f4dda)

🎉 What's new:

🔧 Misc:

  • Promote selected preview resources and data sources to stable (5152699)
  • Honor the resource create timeout when polling for a new account (0c22de0), references #5189
  • Document BCR-2325 impact on snowflake_procedure_python and snowflake_function_python packages (8f37add, 0ad9fa9), references #5116

🐛 Bug fixes:

  • Allow destroying and replacing snowflake_grant_privileges_to_database_role after an object type mismatch (14aabf5), references #5200
  • Ignore last_refreshed_on when detecting stage directory drift (65f860b)
  • Restore the session warehouse after creating an interactive warehouse (e73c474)
  • Reject empty lists in session policy and external access integration fields that have a none option (4b96ca8)
  • Stop experimental SHOW cache invalidation from canceling unrelated in-flight reads (3897230)
  • Prevent perpetual describe_output updates on snowflake_storage_lifecycle_policy (ec7cb9b)
  • Prevent view, materialized view, and dynamic table statement drift when identifiers contain spaces (72528ed), references #5178
  • Accept hyphenated CSV ENCODING aliases on import (6457473), references #5085
  • Accept DATABASE_ROLE granted_on when reading ownership of a database role (BCR-2371) (a17ec20)
  • Fix grant drift for share names that contain dots (d74a979)
  • Wait for postgres instance ALTER operations to complete (fc4cb83)

📦 Library updates:

Direct dependency changes (root go.mod)

Package Old New Notes
pelletier/go-toml/v2 v2.3.1 v2.4.3
snowflakedb/gosnowflake/v2 v2.1.0 v2.2.0 AWS WIF outbound token option, min TLS env var, WIF host restriction, NUMBER precision, GET/local FS fixes
stretchr/testify v1.11.1 v1.12.1
golang.org/x/crypto v0.54.0 v0.56.0
golang.org/x/text v0.40.0 v0.41.0
golang.org/x/tools v0.48.0 v0.49.0
mvdan.cc/gofumpt v0.10.0 v0.11.0

Don't miss a new terraform-provider-snowflake release

NewReleases is sending notifications on new releases.