Releases: databricks/terraform-provider-databricks
v1.0.2
- Added
metastoretodatabricks_grants(#1447). - Added update support for
databricks_mws_log_delivery(#1439). - Fixed name generation for exported
databricks_notebook(#1435). - Fixed
databricks_jobrecreation on changeddocker_imageURL (#1437). - Fixed replace
databricks_mws_networksonvpc_endpointschange (#1453). - Fixed diff suppress in
databricks_external_locationonskip_validation(#1421). - Switched to SQL warehouses API for
databricks_sql_endpoint(#1414). - Improve docs for
databricks_permissionsanddatabricks_obo_token(#1462). - Improve docs for
abfsblock indatabricks_mount(#1446). - Improve dev docs for
tf:"suppress_diff",tf:"force_new"andtf:"sensitive"tags (#1465). - Moved couple of acceptance tests out of preview (#1433).
- Migrated to Go 1.18:
interface{}->any(#1466).
Updated dependency versions:
- Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.17.0 to 2.18.0 (#1450).
v1.0.1
- Added better handling of missing objects during import (#1417).
- Fix problem in the
databricks_node_typedata source (#1400). - Fix update for
databricks_storage_credentialresource (#1403). - Improve
databricks_jobresource (#1428). - Upgraded UC API from 2.0 to 2.1 (#1418).
- Sanitized
hostprovider field prior to auth flow (#1385). - Use
delta_sharing_scopeinstead ofdelta_sharing_enabled(#1398). - Added instructions to create missing
.terraform.lock.hcl(#1397). - Clarified
databricks_permissionsdoc for service principals (#1426). - Clarified
databricks_clusterautotermination_minutesdefault value (#1419). - Fully moved codebase from
databrickslabstodatabricksnamespace (#1429). - Various integration testing improvements (#1425, #1427, #1420).
Updated dependency versions:
- Bump Go from 1.16.x to 1.18.x (#1413).
- Bump github.com/golang-jwt/jwt/v4 from 4.4.1 to 4.4.2 (#1407).
- Bump github.com/hashicorp/hcl/v2 from 2.12.0 to 2.13.0 (#1406).
- Bump github.com/stretchr/testify from 1.7.3 to 1.8.0 (#1387, #1408, #1422).
- Bump google.golang.org/api from 0.84.0 to 0.86.0 (#1386, #1423).
v1.0.0
To make Databricks Terraform Provider generally available, we've moved it from https://github.com/databrickslabs to https://github.com/databricks. We've worked closely with the Terraform Registry team at Hashicorp to ensure a smooth migration. Existing terraform deployments continue to work as expected without any action from your side. We ask you to replace databrickslabs/databricks with databricks/databricks in all your .tf files.
You should have .terraform.lock.hcl file in your state directory that is checked into source control. terraform init will give you the following warning.
Warning: Additional provider information from registry
The remote registry returned warnings for registry.terraform.io/databrickslabs/databricks:
- For users on Terraform 0.13 or greater, this provider has moved to databricks/databricks. Please update your source in required_providers.
After you replace databrickslabs/databricks with databricks/databricks in the required_providers block, the warning will disappear. Do a global "search and replace" in *.tf files. Alternatively you can run python3 -c "$(curl -Ls https://dbricks.co/updtfns)" from the command-line, that would do all the boring work for you.
If you didn't check-in .terraform.lock.hcl to the source code version control, you may you may see Failed to install provider error. Please follow the simple steps described in the troubleshooting guide.
v0.6.2
v0.6.1
- Added
databricks_service_principalanddatabricks_service_principalsdata resources (#1370). - Updated
databricks_pipelineresource to match latest APIs (#1368). - Made
gcp_managed_network_configoptional indatabricks_mws_workspaces(#1365). - Enforced consistent naming for resource files (#1366, #1369).
- Updated resources diagram (#1373).
Updated dependency versions:
- Bump google.golang.org/api from 0.82.0 to 0.83.0
v0.6.0
- Added
delta_sharing_*support todatabricks_metastore(#1334). - Added
databricks_git_credentialspat discovery from common environment variables (#1353). - Added
databricks_permissionsfordatabricks_pipeline(#1361). - Added
network_idtonetworkblock indatabricks_mws_workspacesfor GCP (#1360). - Added
azure_managed_identityblock todatabricks_storage_credentialanddatabricks_metastore_data_accessresources (#1354). - Update docs regarding importing of
databricks_sql_*resources (#1349). - Apply ownership for UC objects during creation (#1338).
- Re-create purged cluster for
databricks_mountfor Google Storage (#1333). - Various documentation fixes (#1350).
Updated dependency versions:
- Bump google.golang.org/api from 0.80.0 to 0.81.0
- Bump gopkg.in/ini.v1 from 1.66.4 to 1.66.6
- Bump google.golang.org/api from 0.81.0 to 0.82.0
- Bump github.com/stretchr/testify from 1.7.1 to 1.7.2
- Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.16.0 to 2.17.0
v0.5.9
- Added warning section for debug mode (#1325).
- Added ability to specify tags for
databricks_job(#1337). - Upgraded AWS provider for AWS guides. Added examples for account-level identities (#1332).
- Updated docs to use
application_idas privilege fordatabricks_service_principal(#1336). - Added
databricks_service_principal_roleresource (#1340). - Fixed integration testing image (#1342, #1343).
- Added
skip_validationfordatabricks_external_location(#1330). - Added
alert_on_last_attempttodatabricks_job(#1341). - Skip
make teston doc-only changes (#1339). - Improve common package test coverage (#1344).
- Re-create purged cluster for
databricks_mountfor AWS S3 (#1345).
Updated dependency versions:
- Bump google.golang.org/api from 0.79.0 to 0.80.0
- Bump github.com/Azure/go-autorest/autorest/adal from 0.9.19 to 0.9.20
v0.5.8
- Update
aws_iam_policy_documentindatabricks_mws_customer_managed_keysdocs to restrict KMS policy to caller AWS account (#1309). - Added
gcsdestination toinit_scriptsindatabricks_cluster(#1308). - Clarify optionality of
databricks_mws_workspaces.deployment_namein docs and examples (#1315). - Update
databricks_mws_log_deliverydocs (#1320). - Fix updating
databricks_service_principalon Azure (#1322). - Added
tf:suppress_diffonartifact_locationfordatabricks_mlflow_experiment(#1323).
Updated dependency versions:
- Bump github.com/Azure/go-autorest/autorest/adal from 0.9.18 to 0.9.19
- Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.14.0 to 2.16.0
- Bump google.golang.org/api from 0.77.0 to 0.79.0
v0.5.7
- Added
external_idandforceattributes todatabricks_service_principalresource (#1293). - Added documentation for
databicks_git_credentialresource (#1295). - Added documentation for
git_sourceindatabricks_job(#1297). - Fix
job_cluster.num_workersindatabricks_job(#1284). - Various documentation improvements (#1292), (#1296), (#1298).
Updated dependency versions:
- Bump google.golang.org/api from 0.75.0 to 0.77.0
- Removed github.com/pkg/errors dependency
v0.5.6
- Added
databricks_viewsdata resource, makingdatabricks_tablesreturn only managed or external tables in Unity Catalog (#1274). - Added default timeout of 20m to
databricks_mount(#1280). - Made
common.DataResourcedeterministic (#1279). - Fixed exporting text-only widgets (#1278).
- Updated devcontainer to support ARM (#1256).
- Various documentation fixes (#1285, #1282, #1281, #1276).
Updated dependency versions:
- Bump github.com/hashicorp/hcl/v2 from 2.11.1 to 2.12.0
- Bump github.com/Azure/go-autorest/autorest from 0.11.26 to 0.11.27