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

[ISSUE] Exporter stops upon error: Endpoint not found for /2.0/ip-access-lists #1166

Closed
dmoore247 opened this issue Mar 9, 2022 · 2 comments · Fixed by #1170
Closed

[ISSUE] Exporter stops upon error: Endpoint not found for /2.0/ip-access-lists #1166

dmoore247 opened this issue Mar 9, 2022 · 2 comments · Fixed by #1170

Comments

@dmoore247
Copy link
Contributor

The exporter fails to write any .tf files as output because of error with ip-access-lists.

One example:

....
[DEBUG] GET /api/2.0/ip-access-lists 
[DEBUG] 404 Not Found {
  "error_code": "ENDPOINT_NOT_FOUND",
  "message": "Endpoint not found for /2.0/ip-access-lists"
}
[ERROR] Endpoint not found for /2.0/ip-access-lists

but no new .tf files were added to the local directory

Configuration

more databricks.tf 
terraform {
  required_providers {
    databricks = {
      source  = "databrickslabs/databricks"
      version = "0.5.0"
    }
  }
}

provider "databricks" {
  # defaults to looking at ~/.databrickscfg or DATABRICKS_* env variables
}

Expected Behavior

write out files and continue export?

Actual Behavior

export stopped, no interim files.

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

cd /tmp/terraform
./terraform-provider-databricks exporter -skip-interactive \
    -services=access \
    -listing=access \
    -debug

Terraform and provider versions

0.5.0 databricks

Important Factoids

Going against a single-tenant workspace with no ip access lists.

@nfx
Copy link
Contributor

nfx commented Mar 9, 2022

@dmoore247 Willing to try making a fix? =)

@dmoore247
Copy link
Contributor Author

@nfx Good one, outside of my capabilities. :)

nfx added a commit that referenced this issue Mar 10, 2022
@nfx nfx closed this as completed in #1170 Mar 10, 2022
nfx added a commit that referenced this issue Mar 10, 2022
@nfx nfx mentioned this issue Mar 14, 2022
michael-berk pushed a commit to michael-berk/terraform-provider-databricks that referenced this issue Feb 15, 2023
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 a pull request may close this issue.

2 participants