-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Internal] Refactored
databricks_zones
and `databricks_spark_versio…
…ns` data sources to Go SDK (#3687) ## Changes - `LatestSparkVersionOrDefault` now returns 11.3 LTS, as 7.3 LTS is deprecated - Refactored `databricks_zones` to Go SDK - Refactored `databricks_spark_versions` to Go SDK. This refactoring require one additional change to `resource.go`: - Add new method `WorkspaceDataWithCustomizeFunc` to allow customization of the data source schema - Removed Spark versions related methods, as these have now moved to Go SDK. This requires migrating the function `LatestSparkVersionOrDefault` to a Go SDK method, which requires changing existing structs in Terraform provider to equivalent in Go SDK (`clusters.SparkVersionsList` to `compute.GetSparkVersionsResponse`, etc.) ## Tests <!-- How is this tested? Please see the checklist below and also describe any other relevant tests --> - [x] `make test` run locally - [x] covered with integration tests in `internal/acceptance` - [x] relevant acceptance tests are passing - [x] using Go SDK
- Loading branch information
Showing
18 changed files
with
264 additions
and
454 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.