Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix documentation for databricks_storage_credential and databricks_external_location data sources #3588

Merged
merged 1 commit into from
May 17, 2024

Conversation

alexott
Copy link
Contributor

@alexott alexott commented May 17, 2024

Changes

Changes include:

  • Documented the right structure returned by these data sources - the nested structures weren't mentioned there at all.
  • Fixed examples for both data sources
  • Added id attribute for easier reference to the data sources
  • Reformatted the rest of the doc examples

Tests

  • make test run locally
  • relevant change in docs/ folder
  • covered with integration tests in internal/acceptance
  • relevant acceptance tests are passing
  • using Go SDK

…_external_location` data sources

Changes include:

* Documented right structure returned by these data sources - the nested structures
  weren't mentioned there at all.
* Fixed examples for both data sources
* Added `id` attribute for easier reference to the data sources
* Reformatted the rest of doc examples
@alexott alexott requested review from a team as code owners May 17, 2024 08:37
@alexott alexott requested review from hectorcast-db and tanmay-db and removed request for a team May 17, 2024 08:37
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.35%. Comparing base (9648502) to head (939cdde).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3588      +/-   ##
==========================================
+ Coverage   82.34%   82.35%   +0.01%     
==========================================
  Files         190      190              
  Lines       19312    19316       +4     
==========================================
+ Hits        15902    15908       +6     
+ Misses       2479     2478       -1     
+ Partials      931      930       -1     
Files Coverage Δ
catalog/data_external_location.go 100.00% <100.00%> (ø)
catalog/data_storage_credential.go 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

@alexott alexott added this pull request to the merge queue May 17, 2024
Merged via the queue into main with commit 0908416 May 17, 2024
5 checks passed
@alexott alexott deleted the ext-loc-storage-cred-data-sources branch May 17, 2024 08:57
edwardfeng-db pushed a commit that referenced this pull request May 22, 2024
…_external_location` data sources (#3588)

Changes include:

* Documented right structure returned by these data sources - the nested structures
  weren't mentioned there at all.
* Fixed examples for both data sources
* Added `id` attribute for easier reference to the data sources
* Reformatted the rest of doc examples
hectorcast-db added a commit that referenced this pull request May 23, 2024
### New Features and Improvements

 * Fix bug in collectionToMaps ([#3581](#3581)).
 * Added `databricks_enhanced_security_monitoring_workspace_setting ` resource for ESC (Enhanced Compliance and Security) settings ([#3563](#3563)).
 * Added `databricks_automatic_cluster_update_workspace_setting` resource ([#3444](#3444)).
 * Add databricks_compliance_security_profile_workspace_setting resource ([#3564](#3564)).
 * Make customizable error logs more readable ([#3583](#3583)).
 * Fix control run state failures for `databricks_job` resource ([#3585](#3585)).
 * Added support for popular column types for `resource_sql_table` ([#3528](#3528)).
 * Modify state upgrader to remove `ebs_volume_iops` set to zero ([#3601](#3601)).
 * Add route optimized option to model serving terraform ([#3572](#3572)).
 * Rename lakehouse monitor to quality monitor ([#3584](#3584)).

### Documentation Changes
 * Fix documentation for `databricks_storage_credential` and `databricks_external_location` data sources ([#3588](#3588)).

### Exporter
 * Add support for `databricks_mws_permission_assignment` resource ([#3562](#3562)).
 * Don't list directories in the incremental mode ([#3569](#3569)).

### Internal Changes
 * Add TestMwsAccServicePrincipalResourceOnAws to flaky tests ([#3580](#3580)).

### Dependency updates
 * Bump github.com/databricks/databricks-sdk-go from 0.40.1 to 0.41.0 ([#3604](#3604)).
 * Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.33.0 to 2.34.0 ([#3594](#3594)).
@hectorcast-db hectorcast-db mentioned this pull request May 23, 2024
github-merge-queue bot pushed a commit that referenced this pull request May 23, 2024
* Release v1.45.0

### New Features and Improvements

 * Fix bug in collectionToMaps ([#3581](#3581)).
 * Added `databricks_enhanced_security_monitoring_workspace_setting ` resource for ESC (Enhanced Compliance and Security) settings ([#3563](#3563)).
 * Added `databricks_automatic_cluster_update_workspace_setting` resource ([#3444](#3444)).
 * Add databricks_compliance_security_profile_workspace_setting resource ([#3564](#3564)).
 * Make customizable error logs more readable ([#3583](#3583)).
 * Fix control run state failures for `databricks_job` resource ([#3585](#3585)).
 * Added support for popular column types for `resource_sql_table` ([#3528](#3528)).
 * Modify state upgrader to remove `ebs_volume_iops` set to zero ([#3601](#3601)).
 * Add route optimized option to model serving terraform ([#3572](#3572)).
 * Rename lakehouse monitor to quality monitor ([#3584](#3584)).

### Documentation Changes
 * Fix documentation for `databricks_storage_credential` and `databricks_external_location` data sources ([#3588](#3588)).

### Exporter
 * Add support for `databricks_mws_permission_assignment` resource ([#3562](#3562)).
 * Don't list directories in the incremental mode ([#3569](#3569)).

### Internal Changes
 * Add TestMwsAccServicePrincipalResourceOnAws to flaky tests ([#3580](#3580)).

### Dependency updates
 * Bump github.com/databricks/databricks-sdk-go from 0.40.1 to 0.41.0 ([#3604](#3604)).
 * Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.33.0 to 2.34.0 ([#3594](#3594)).

* fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants