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

Switch to databricks_mount in the exporter #1006

Merged
merged 1 commit into from
Dec 28, 2021
Merged

Conversation

alexott
Copy link
Contributor

@alexott alexott commented Dec 28, 2021

No description provided.

@alexott alexott requested a review from nfx December 28, 2021 09:34
@codecov
Copy link

codecov bot commented Dec 28, 2021

Codecov Report

Merging #1006 (1556d02) into master (9af3fc8) will increase coverage by 0.06%.
The diff coverage is 95.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1006      +/-   ##
==========================================
+ Coverage   90.54%   90.60%   +0.06%     
==========================================
  Files         105      105              
  Lines        9218     9210       -8     
==========================================
- Hits         8346     8345       -1     
+ Misses        516      513       -3     
+ Partials      356      352       -4     
Impacted Files Coverage Δ
exporter/importables.go 98.27% <95.00%> (+1.29%) ⬆️

)

func generateMountBody(ic *importContext, body *hclwrite.Body, r *resource) error {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you split this method into at least 3 smaller ones? it's almost 100 lines long

@nfx nfx merged commit 881b26e into master Dec 28, 2021
@nfx nfx deleted the generic-mounts-exporter branch December 28, 2021 11:34
@nfx nfx mentioned this pull request Dec 30, 2021
94 tasks
nfx added a commit that referenced this pull request Dec 30, 2021
* Added support for `databricks_permissions` for `databricks_mlflow_experiment` and `databricks_mlflow_model` ([#1013](#1013)).
* Added `Using XXX auth` explanation to HTTP 403 errors, which should help troubleshooting misconfigured authentication or provider aliasing. Example error message now looks like: *cannot create group: /2.0/preview/scim/v2/Groups is only accessible by admins. Using databricks-cli auth: host=https://XXX.cloud.databricks.com/, token=`***REDACTED***`, profile=demo.* All sensitive configuration parameters (`token`, `password`, and `azure_client_secret`) are redacted and replaced with `***REDACTED***` ([#821](#821)).
* Improved documentation with regards to public subnets in AWS quick start ([#1005](#1005)).
* Added `databricks_mount` code genration for [exporter](https://registry.terraform.io/providers/databrickslabs/databricks/latest/docs/guides/experimental-exporter) tooling ([#1006](#1006)).
* Increase dependency check frequency ([#1007](#1007)).
* Added experimental resources.
@alexott alexott added the exporter TF configuration generator label Jan 5, 2023
michael-berk pushed a commit to michael-berk/terraform-provider-databricks that referenced this pull request Feb 15, 2023
michael-berk pushed a commit to michael-berk/terraform-provider-databricks that referenced this pull request Feb 15, 2023
* Added support for `databricks_permissions` for `databricks_mlflow_experiment` and `databricks_mlflow_model` ([databricks#1013](databricks#1013)).
* Added `Using XXX auth` explanation to HTTP 403 errors, which should help troubleshooting misconfigured authentication or provider aliasing. Example error message now looks like: *cannot create group: /2.0/preview/scim/v2/Groups is only accessible by admins. Using databricks-cli auth: host=https://XXX.cloud.databricks.com/, token=`***REDACTED***`, profile=demo.* All sensitive configuration parameters (`token`, `password`, and `azure_client_secret`) are redacted and replaced with `***REDACTED***` ([databricks#821](databricks#821)).
* Improved documentation with regards to public subnets in AWS quick start ([databricks#1005](databricks#1005)).
* Added `databricks_mount` code genration for [exporter](https://registry.terraform.io/providers/databrickslabs/databricks/latest/docs/guides/experimental-exporter) tooling ([databricks#1006](databricks#1006)).
* Increase dependency check frequency ([databricks#1007](databricks#1007)).
* Added experimental resources.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exporter TF configuration generator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants