Skip to content

Commit

Permalink
Merge branch 'main' into app-pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-swinkler authored Jan 18, 2024
2 parents a45ae52 + 2e7651f commit 98ec7bb
Show file tree
Hide file tree
Showing 136 changed files with 9,102 additions and 529 deletions.
7 changes: 6 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
builds:
- env:
- CGO_ENABLED=0
- >-
{{- if or (eq .Os "darwin") (eq .Os "windows") }}
CGO_ENABLED=1
{{- else }}
CGO_ENABLED=0
{{- end }}
goos:
- windows
- linux
Expand Down
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# Changelog

## [0.83.1](https://github.com/Snowflake-Labs/terraform-provider-snowflake/compare/v0.83.0...v0.83.1) (2024-01-12)


### 🐛 **Bug fixes:**

* Revert goreleaser mfa token caching ([#2343](https://github.com/Snowflake-Labs/terraform-provider-snowflake/issues/2343)) ([9a98031](https://github.com/Snowflake-Labs/terraform-provider-snowflake/commit/9a9803107f395ca350bdbb9fb8dc0f17820b8eb6))

## [0.83.0](https://github.com/Snowflake-Labs/terraform-provider-snowflake/compare/v0.82.0...v0.83.0) (2024-01-11)


### 🎉 **What's new:**

* Add create streamlit privilege to the SDK ([#2303](https://github.com/Snowflake-Labs/terraform-provider-snowflake/issues/2303)) ([be01d5f](https://github.com/Snowflake-Labs/terraform-provider-snowflake/commit/be01d5fdab4f2d31db9c4c849b349e657c0352c8))
* grant privileges to database role resource ([#2306](https://github.com/Snowflake-Labs/terraform-provider-snowflake/issues/2306)) ([0311cf8](https://github.com/Snowflake-Labs/terraform-provider-snowflake/commit/0311cf8554f0fbd202b489a54c9428f55c52a490))


### 🐛 **Bug fixes:**

* Add secondary account and fix tests ([#2324](https://github.com/Snowflake-Labs/terraform-provider-snowflake/issues/2324)) ([da6ca73](https://github.com/Snowflake-Labs/terraform-provider-snowflake/commit/da6ca733c7527c8918d1e1beb86d1641d94062ec))
* external tables issues ([#2334](https://github.com/Snowflake-Labs/terraform-provider-snowflake/issues/2334)) ([ae41691](https://github.com/Snowflake-Labs/terraform-provider-snowflake/commit/ae416917be72ab55c6f1b758dd7e06269831fabc))
* Fix test because of the date ([#2312](https://github.com/Snowflake-Labs/terraform-provider-snowflake/issues/2312)) ([9a9ea33](https://github.com/Snowflake-Labs/terraform-provider-snowflake/commit/9a9ea3331f090201c2d686ed7e726eb7d9cef926))
* Fix warehouse read and resource monitor empty set ([#2319](https://github.com/Snowflake-Labs/terraform-provider-snowflake/issues/2319)) ([05f96c6](https://github.com/Snowflake-Labs/terraform-provider-snowflake/commit/05f96c699e4e36db4b28380d9ac3577d4f50a709)), closes [#2318](https://github.com/Snowflake-Labs/terraform-provider-snowflake/issues/2318) [#2316](https://github.com/Snowflake-Labs/terraform-provider-snowflake/issues/2316)
* goreleaser for mfa token caching ([#2320](https://github.com/Snowflake-Labs/terraform-provider-snowflake/issues/2320)) ([4fef709](https://github.com/Snowflake-Labs/terraform-provider-snowflake/commit/4fef709a376f5905effcc3439b1ad4cb9043ffca))

## [0.82.0](https://github.com/Snowflake-Labs/terraform-provider-snowflake/compare/v0.81.0...v0.82.0) (2023-12-21)


Expand Down
4 changes: 4 additions & 0 deletions MIGRATION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,7 @@ provider "snowflake" {
params = {}
}
```

#### *(behavior change)* authenticator (JWT)

Before the change `authenticator` parameter did not have to be set for private key authentication and was deduced by the provider. The change is a result of the introduced configuration alignment with an underlying [gosnowflake driver](https://github.com/snowflakedb/gosnowflake). The authentication type is required there, and it defaults to user+password one. From this version, set `authenticator` to `JWT` explicitly.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export SKIP_EMAIL_INTEGRATION_TESTS=true
export SKIP_EXTERNAL_TABLE_TEST=true
export SKIP_NOTIFICATION_INTEGRATION_TESTS=true
export SKIP_SAML_INTEGRATION_TESTS=true
export SKIP_STREAM_TEST=true
export SKIP_MANAGED_ACCOUNT_INT_TEST=true
export BASE_BINARY_NAME=terraform-provider-snowflake
export TERRAFORM_PLUGINS_DIR=$(HOME)/.terraform.d/plugins
export TERRAFORM_PLUGIN_LOCAL_INSTALL=$(TERRAFORM_PLUGINS_DIR)/$(BASE_BINARY_NAME)
Expand Down
50 changes: 25 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,59 +66,59 @@ Integration status - indicates if given resource / datasource is using new SDK.
| Object Type | SDK migration status | Resource name | Datasource name | Integration status |
|-------------------------------------|----------------------|------------------------------------------------|-------------------------------|--------------------|
| Account || snowflake_account | snowflake_account ||
| Managed Account | | snowflake_managed_account | snowflake_managed_account ||
| Managed Account | 👨‍💻 | snowflake_managed_account | snowflake_managed_account ||
| User || snowflake_user | snowflake_user ||
| Database Role || snowflake_database_role | snowflake_database_role ||
| Role || snowflake_role | snowflake_role | 👨‍💻 |
| Grant Privilege to Application Role | | snowflake_grant_privileges_to_application_role | snowflake_grants ||
| Grant Privilege to Database Role || snowflake_grant_privileges_to_database_role | snowflake_grants | 👨‍💻 |
| Grant Privilege to Role | | snowflake_grant_privileges_to_role | snowflake_grants ||
| Grant Role | | snowflake_grant_role | snowflake_grants | |
| Grant Database Role || snowflake_grant_database_role | snowflake_grants | |
| Grant Application Role | | snowflake_grant_application_role | snowflake_grants ||
| Grant Privilege to Application Role | | snowflake_grant_privileges_to_application_role | snowflake_grants ||
| Grant Privilege to Database Role || snowflake_grant_privileges_to_database_role | snowflake_grants | |
| Grant Privilege to Role | | snowflake_grant_privileges_to_role | snowflake_grants ||
| Grant Role | | snowflake_grant_role | snowflake_grants | 👨‍💻 |
| Grant Database Role || snowflake_grant_database_role | snowflake_grants | 👨‍💻 |
| Grant Application Role | | snowflake_grant_application_role | snowflake_grants ||
| Grant Privilege to Share || snowflake_grant_privileges_to_share | snowflake_grants ||
| Grant Ownership || snowflake_grant_ownership | snowflake_grants ||
| API Integration || snowflake_api_integration | snowflake_integrations ||
| Notification Integration || snowflake_notification_integration | snowflake_integrations ||
| Security Integration || snowflake_security_integration | snowflake_integrations ||
| Storage Integration | | snowflake_storage_integration | snowflake_integrations ||
| Storage Integration | | snowflake_storage_integration | snowflake_integrations ||
| Network Policy || snowflake_network_policy | snowflake_network_policy ||
| Password Policy || snowflake_password_policy | snowflake_password_policy ||
| Session Policy || snowflake_session_policy | snowflake_session_policy ||
| Replication Group || snowflake_replication_group | snowflake_replication_group ||
| Failover Group || snowflake_failover_group | snowflake_failover_group ||
| Connection || snowflake_connection | snowflake_connection ||
| Account Parameters || snowflake_account_parameter | snowflake_parameters | |
| Session Parameters || snowflake_session_parameter | snowflake_parameters | |
| Object Parameters || snowflake_object_parameter | snowflake_parameters | |
| Account Parameters || snowflake_account_parameter | snowflake_parameters | |
| Session Parameters || snowflake_session_parameter | snowflake_parameters | |
| Object Parameters || snowflake_object_parameter | snowflake_parameters | |
| Warehouse || snowflake_warehouse | snowflake_warehouse | 🟨 |
| Resource Monitor || snowflake_resource_monitor | snowflake_resource_monitor ||
| Database || snowflake_database | snowflake_database ||
| Schema || snowflake_schema | snowflake_schema ||
| Share || snowflake_share | snowflake_share ||
| Table | 👨‍💻 | snowflake_table | snowflake_table ||
| Dynamic Table || snowflake_dynamic_table | snowflake_dynamic_table | |
| External Table || snowflake_external_table | snowflake_external_table | |
| Event Table | | snowflake_event_table | snowflake_event_table ||
| View | | snowflake_view | snowflake_view ||
| Table | | snowflake_table | snowflake_table ||
| Dynamic Table || snowflake_dynamic_table | snowflake_dynamic_table | |
| External Table || snowflake_external_table | snowflake_external_table | |
| Event Table | | snowflake_event_table | snowflake_event_table ||
| View | | snowflake_view | snowflake_view ||
| Materialized View || snowflake_materialized_view | snowflake_materialized_view ||
| Sequence || snowflake_sequence | snowflake_sequence ||
| Function | | snowflake_function | snowflake_function ||
| External Function | | snowflake_external_function | snowflake_external_function ||
| Stored Procedure | | snowflake_stored_procedure | snowflake_stored_procedure ||
| Function | | snowflake_function | snowflake_function ||
| External Function | | snowflake_external_function | snowflake_external_function ||
| Stored Procedure | | snowflake_stored_procedure | snowflake_stored_procedure ||
| Stream || snowflake_stream | snowflake_stream ||
| Task || snowflake_task | snowflake_task | |
| Task || snowflake_task | snowflake_task | |
| Masking Policy || snowflake_masking_policy | snowflake_masking_policy ||
| Row Access Policy | | snowflake_row_access_policy | snowflake_row_access_policy ||
| Row Access Policy | 👨‍💻 | snowflake_row_access_policy | snowflake_row_access_policy ||
| Tag || snowflake_tag | snowflake_tag ||
| Secret || snowflake_secret | snowflake_secret ||
| Stage | | snowflake_stage | snowflake_stage ||
| Stage | 🟨 | snowflake_stage | snowflake_stage ||
| File Format || snowflake_file_format | snowflake_file_format ||
| Pipe || snowflake_pipe | snowflake_pipe ||
| Alert || snowflake_alert | snowflake_alert ||
| Application | | snowflake_application | snowflake_application ||
| Application Package | | snowflake_application_package | snowflake_application_package ||
| Application Role | | snowflake_application_role | snowflake_application_role ||
| Application | 👨‍💻 | snowflake_application | snowflake_application ||
| Application Package | 👨‍💻 | snowflake_application_package | snowflake_application_package ||
| Application Role | | snowflake_application_role | snowflake_application_role ||
| Streamlit || snowflake_streamlit | snowflake_streamlit ||
| Versioned Schema || snowflake_versioned_schema | snowflake_versioned_schema ||
| Tag Association || snowflake_tag_association | snowflake_tag_association ||
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ provider "snowflake" {
### Optional

- `account` (String) Specifies your Snowflake account identifier assigned, by Snowflake. For information about account identifiers, see the [Snowflake documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html). Can also be sourced from the `SNOWFLAKE_ACCOUNT` environment variable. Required unless using `profile`.
- `authenticator` (String) Specifies the [authentication type](https://pkg.go.dev/github.com/snowflakedb/gosnowflake#AuthType) to use when connecting to Snowflake. Valid values include: Snowflake, OAuth, ExternalBrowser, Okta, JWT, TokenAccessor, UsernamePasswordMFA. Can also be sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
- `authenticator` (String) Specifies the [authentication type](https://pkg.go.dev/github.com/snowflakedb/gosnowflake#AuthType) to use when connecting to Snowflake. Valid values include: Snowflake, OAuth, ExternalBrowser, Okta, JWT, TokenAccessor, UsernamePasswordMFA. Can also be sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable. It has to be set explicitly to JWT for private key authentication.
- `browser_auth` (Boolean, Deprecated) Required when `oauth_refresh_token` is used. Can also be sourced from `SNOWFLAKE_USE_BROWSER_AUTH` environment variable.
- `client_ip` (String) IP address for network checks. Can also be sourced from the `SNOWFLAKE_CLIENT_IP` environment variable.
- `client_request_mfa_token` (Boolean) When true the MFA token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also be sourced from the `SNOWFLAKE_CLIENT_REQUEST_MFA_TOKEN` environment variable.
Expand Down
Loading

0 comments on commit 98ec7bb

Please sign in to comment.