github snowflakedb/terraform-provider-snowflake v2.22.0

4 hours ago

2.22.0 (2026-10-13)

❗ Migration guide: v2.21.x -> v2.22.0

🎉 What's new:

  • Add new preview snowflake_intelligence_cortex_agent_attachment resource for making Cortex agents available in Snowflake CoWork (566b155, 2c31bcc, 9ed4dba)
  • Add optimized_refresh and rpo_assurance to the preview snowflake_failover_group resource (ddbaee3), references #5237
  • Add execute_as_user to snowflake_task and expose it in show_output and the snowflake_tasks data source (997c358), closes #4122
  • Add primary_key and auto_suspend to snowflake_cortex_search_service (4904856), references #5209
  • Add service_caller_token_validity_secs and a parameters output to snowflake_service (2eb760f)
  • Support IPV6 and COMPUTE_POOL types and the SNOWFLAKE_MANAGED_STORAGE_VOLUME mode in snowflake_network_rule (37c411e), references #5212
  • Expose previously omitted SHOW/DESCRIBE columns in show_output and describe_output for authentication and session policies, Cortex search services, XML file formats, users, and stages (8ed8480)
  • Add a parameters output to the snowflake_accounts data source (171d455)
  • Add 18 new account parameters to snowflake_current_account and snowflake_current_organization_account (c6c3a70)
  • Add new supported keys to snowflake_account_parameter, including DISABLE_UI_DOWNLOAD_BUTTON (a9b34f9), closes #4764
  • Expose default_notebook_compute_pool_cpu and default_notebook_compute_pool_gpu parameters in snowflake_schema, snowflake_schemas, and snowflake_databases (d07ec26, 08788bb)
  • Remove client-side upper bounds on integer parameters (data_retention_time_in_days, max_data_extension_time_in_days, user_task_timeout_ms) in database and schema resources (d07ec26, 08788bb)
  • Introduce an experimental features lifecycle and a new experimental_features_disabled provider field (8b4efad)
  • Enable 9 experiments by default, including INHERITED_GRANTS, GRANTS_SAFE_DESTROY, and TAG_ASSOCIATION_SAFE_DESTROY (8b4efad, faed764)
  • Add the opt-in ACCOUNT_PARAMETER_CATALOG_WRITE_PATH experiment, which handles value quoting internally in snowflake_account_parameter (a9b34f9)

🔧 Misc:

  • Promote snowflake_warehouse_interactive to stable (ae2e138)
  • Apply the improved warehouse SHOW query to adaptive and interactive warehouses (2dfc493), references #5231
  • Emit usage telemetry on provider configuration, data source reads, and resource operations (23b978b, 42f370c, 07a14a9, 5ece6e0)
  • Add a getting started guide for Openflow (418c9dd)
  • Drop plural object type lists from grant resource docs (0f0bdb5), references #5218

🐛 Bug fixes:

  • Fix case-only permadiffs on unsupported_ddl_action and validate its values at plan time (b648dff), references #5210
  • Remove the client-side 300-value limit on allowed_values in snowflake_tag (a4fe1df)
  • Fix tag associations on AGENT objects (f9f1d41)
  • Fix unsetting column tags in snowflake_tag_association after the column was dropped (0760255)
  • Apply an explicitly configured empty default_ddl_collation on snowflake_database (08788bb), references #3510

📦 Library updates:

Package Old New Notes
snowflakedb/gosnowflake/v2 v2.2.0 v2.3.0 OCSP checks off by default, hardened external-browser callback, timestamp array bind fix
hashicorp/go-uuid v1.0.3 v1.0.4
golang.org/x/crypto v0.56.0 v0.57.0
golang.org/x/sync v0.22.0 v0.23.0
golang.org/x/sys v0.47.0 v0.48.0
golang.org/x/text v0.41.0 v0.42.0
golang.org/x/tools v0.49.0 v0.51.0
mvdan.cc/gofumpt v0.11.0 v0.12.0

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

NewReleases is sending notifications on new releases.