Skip to content

Commit 7c633a5

Browse files
Merge branch 'refs/heads/dev' into listing-data-source
# Conflicts: # MIGRATION_GUIDE.md # docs/index.md
2 parents 7b1fd0b + 7b42fc7 commit 7c633a5

File tree

270 files changed

+9195
-3665
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

270 files changed

+9195
-3665
lines changed

.cursor/worktrees.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"setup-worktree": [
3+
"make dev-setup"
4+
]
5+
}

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,44 @@
11
# Changelog
22

3+
## [2.11.0](https://github.com/snowflakedb/terraform-provider-snowflake/compare/v2.10.1...v2.11.0) (2025-11-21)
4+
5+
6+
### 🎉 **What's new:**
7+
8+
* Add notebook datasource ([#4209](https://github.com/snowflakedb/terraform-provider-snowflake/issues/4209)) ([5599cfe](https://github.com/snowflakedb/terraform-provider-snowflake/commit/5599cfe3e8afd3ff86ce5cff60dbdb94280c6984))
9+
* Add notebook resource ([#4195](https://github.com/snowflakedb/terraform-provider-snowflake/issues/4195)) ([407dfa2](https://github.com/snowflakedb/terraform-provider-snowflake/commit/407dfa20bfefa1e7357287c80a128fc97cb48566))
10+
* Add support for semantic views in grant ownership ([#4210](https://github.com/snowflakedb/terraform-provider-snowflake/issues/4210)) ([5d2b961](https://github.com/snowflakedb/terraform-provider-snowflake/commit/5d2b96166de9dc1a8260459b2f4d2f6aa1cbe796))
11+
* Add task seconds and hours scheduling ([#4207](https://github.com/snowflakedb/terraform-provider-snowflake/issues/4207)) ([ec623ed](https://github.com/snowflakedb/terraform-provider-snowflake/commit/ec623eda842ff96855b8de266c6d9481eca39af2))
12+
* Enable semantic views ([#4221](https://github.com/snowflakedb/terraform-provider-snowflake/issues/4221)) ([2398a93](https://github.com/snowflakedb/terraform-provider-snowflake/commit/2398a931d10cd283409b08f5b8597eba1cefbd47))
13+
14+
15+
### 🔧 **Misc**
16+
17+
* Add protected security integrations in sweepers ([#4193](https://github.com/snowflakedb/terraform-provider-snowflake/issues/4193)) ([94260ce](https://github.com/snowflakedb/terraform-provider-snowflake/commit/94260ce558c31165aa6b971bc0b28cd123f3cd3e))
18+
* Add small provider adjustments ([#4208](https://github.com/snowflakedb/terraform-provider-snowflake/issues/4208)) ([34b1d6d](https://github.com/snowflakedb/terraform-provider-snowflake/commit/34b1d6d6de504298085730e7418e8f5874548e55))
19+
* Adjust data source tests follow up 1 ([#4163](https://github.com/snowflakedb/terraform-provider-snowflake/issues/4163)) ([8e1d20a](https://github.com/snowflakedb/terraform-provider-snowflake/commit/8e1d20a0e17e41307270813cf873f855ecff496b))
20+
* Adjust data source tests follow up 2 ([#4165](https://github.com/snowflakedb/terraform-provider-snowflake/issues/4165)) ([23725df](https://github.com/snowflakedb/terraform-provider-snowflake/commit/23725dfca16b04226ae2ee4806e33da142f71d17))
21+
* Adjust data source tests follow up 3 ([#4166](https://github.com/snowflakedb/terraform-provider-snowflake/issues/4166)) ([20ee0eb](https://github.com/snowflakedb/terraform-provider-snowflake/commit/20ee0eb4f74a48a4d7ca879c64ad7301f40179fe))
22+
* Adjust migration guide after grant ownership pr ([#4190](https://github.com/snowflakedb/terraform-provider-snowflake/issues/4190)) ([c061a4e](https://github.com/snowflakedb/terraform-provider-snowflake/commit/c061a4ef58ed799c5bab4f107ccb39115fdaf930))
23+
* Adjust task documentation ([#4226](https://github.com/snowflakedb/terraform-provider-snowflake/issues/4226)) ([85ddbb9](https://github.com/snowflakedb/terraform-provider-snowflake/commit/85ddbb9b6c91821765ff44672ddf2a4f1f1344bf))
24+
* Adjust task tests ([#4216](https://github.com/snowflakedb/terraform-provider-snowflake/issues/4216)) ([1e80581](https://github.com/snowflakedb/terraform-provider-snowflake/commit/1e80581e198179ce883c31440eadcac070430d4c))
25+
* Adjust to 2025_07 BCR part 1 ([#4171](https://github.com/snowflakedb/terraform-provider-snowflake/issues/4171)) ([df00c22](https://github.com/snowflakedb/terraform-provider-snowflake/commit/df00c227a000f0c140c7309a0a5f5251d9dfcfa2))
26+
* Adjust to 2025_07 BCR part 2 ([#4174](https://github.com/snowflakedb/terraform-provider-snowflake/issues/4174)) ([ec84372](https://github.com/snowflakedb/terraform-provider-snowflake/commit/ec8437200e2a150ba5ec64e944aaee60b5fdc11c))
27+
* Bump the driver version to 1.18.0 ([#4220](https://github.com/snowflakedb/terraform-provider-snowflake/issues/4220)) ([7f22a80](https://github.com/snowflakedb/terraform-provider-snowflake/commit/7f22a80d975482dc2272f92082a4676fc53f2914))
28+
* Change migration guide ([#4229](https://github.com/snowflakedb/terraform-provider-snowflake/issues/4229)) ([8507769](https://github.com/snowflakedb/terraform-provider-snowflake/commit/8507769471943869704b2a95fbab3919bab2d925))
29+
* Fix data source tests ([#4203](https://github.com/snowflakedb/terraform-provider-snowflake/issues/4203)) ([c59e35d](https://github.com/snowflakedb/terraform-provider-snowflake/commit/c59e35d8d2daf3246c1b48854bb830361328902c))
30+
* Fix failing tests in ci ([#4194](https://github.com/snowflakedb/terraform-provider-snowflake/issues/4194)) ([945aa69](https://github.com/snowflakedb/terraform-provider-snowflake/commit/945aa69827e74edf8edc01e0b905ce56f1aff292))
31+
* Fix references to objects used in the SDK generator templates ([#4200](https://github.com/snowflakedb/terraform-provider-snowflake/issues/4200)) ([2b13800](https://github.com/snowflakedb/terraform-provider-snowflake/commit/2b138009218f32d818d1b7505e1bb89bc90b5e4b))
32+
* Regenerate SDK without package problems ([#4183](https://github.com/snowflakedb/terraform-provider-snowflake/issues/4183)) ([ae7cb43](https://github.com/snowflakedb/terraform-provider-snowflake/commit/ae7cb433064f83e59ee6285e4f3e118bbd34f594))
33+
* Remove database roles from bulk ownership grants ([#4185](https://github.com/snowflakedb/terraform-provider-snowflake/issues/4185)) ([8229934](https://github.com/snowflakedb/terraform-provider-snowflake/commit/822993450a2150470f4d0ce6a15d0905bf12792b))
34+
* Remove legacy columns from managed accounts SDK ([#4175](https://github.com/snowflakedb/terraform-provider-snowflake/issues/4175)) ([3832a34](https://github.com/snowflakedb/terraform-provider-snowflake/commit/3832a344b8ddd329c7929fcb9b94ec338220e429))
35+
* Upgrade golangci-lint to v2.6.1 ([#4182](https://github.com/snowflakedb/terraform-provider-snowflake/issues/4182)) ([ce1f354](https://github.com/snowflakedb/terraform-provider-snowflake/commit/ce1f35441bd85338b8c011747314eaa5304adf60))
36+
37+
38+
### 🐛 **Bug fixes:**
39+
40+
* Do not panic in parsing identifiers with arguments ([#4191](https://github.com/snowflakedb/terraform-provider-snowflake/issues/4191)) ([f8a97f0](https://github.com/snowflakedb/terraform-provider-snowflake/commit/f8a97f06e7451496f863a6cc92f267d153d8a468))
41+
342
## [2.10.1](https://github.com/snowflakedb/terraform-provider-snowflake/compare/v2.10.0...v2.10.1) (2025-11-07)
443

544

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ We believe that code following the same conventions is easier to maintain and ex
106106

107107
### Introducing a new part of the SDK
108108

109-
To create new objects in our SDK we use quickly created generator that outputs the majority of the files needed. These files should be later edited and filled with the missing parts. We plan to improve the generator later on, but it should be enough for now. Please read more in the [generator readme](pkg/sdk/poc/README.md).
109+
To create new objects in our SDK we use quickly created generator that outputs the majority of the files needed. These files should be later edited and filled with the missing parts. We plan to improve the generator later on, but it should be enough for now. Please read more in the [generator readme](pkg/sdk/generator/README.md).
110110

111111
### Test the change
112112
Every introduced change should be tested. Depending on the type of the change it may require (any or mix of):

FAQ.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,14 @@ The provider offers two main types of logging:
5656
- Terraform execution (check [Terraform Debugging Documentation](https://www.terraform.io/internals/debugging)) - you can set it through the `TF_LOG` environment variable, e.g.: `TF_LOG=DEBUG`; it will make output of the Terraform execution more verbose.
5757
- Snowflake communication (using the logs from the underlying [Go Snowflake driver](https://github.com/snowflakedb/gosnowflake)) - you can set it directly in the provider config ([`driver_tracing`](https://registry.terraform.io/providers/snowflakedb/snowflake/1.0.3/docs#driver_tracing-3) attribute), by `SNOWFLAKE_DRIVER_TRACING` environmental variable (e.g. `SNOWFLAKE_DRIVER_TRACING=info`), or by `drivertracing` field in the TOML file. To see the communication with Snowflake (including the SQL commands run) we recommend setting it to `info`.
5858

59+
**Note:** Since v2.11.0 provider version, queries are not logged by default. If you need query-level debugging, ensure you configure appropriate logging settings:
60+
- `log_query_text` - when set to `true`, query text will be logged
61+
- `log_query_parameters` - when set to `true`, query parameters will be logged
62+
63+
These options can be set in the provider configuration, TOML configuration file, or via environment variables. Read [the documentation](https://registry.terraform.io/providers/snowflakedb/snowflake/latest/docs#schema) for more details.
64+
65+
Note that you still need to set the `INFO` level in `driver_tracing` field to see the query logs.
66+
5967
As driver logs may seem cluttered, to locate the SQL commands run, search for:
6068
- (preferred) `--terraform_provider_usage_tracking`
6169
- `msg="Query:`
@@ -74,6 +82,6 @@ Please refer to [this document](https://github.com/snowflakedb/terraform-provide
7482

7583
### Is this provider compatible with OpenTofu?
7684
OpenTofu is not currently supported. While it's mostly compatible with Terraform,
77-
OpenTofu's [reactive implementation of new Terraform features based on community demand](https://opentofu.org/faq/#opentofu-compatibility) may decrease compatibility over time.
85+
OpenTofu's [reactive implementation of new Terraform features based on community demand](https://opentofu.org/faq/#opentofu-compatibility) may decrease compatibility over time.
7886
We plan to research OpenTofu support in the future, but there's no timeline yet (once planned, it will appear in the [roadmap](https://github.com/snowflakedb/terraform-provider-snowflake/blob/main/ROADMAP.md)).
7987
For now, you must research and assess the risk of provider incompatibility.

0 commit comments

Comments
 (0)