Skip to content

Commit 21c4f06

Browse files
authored
Failures in exporter listing no longer halt (#1170)
Fixes #1166
1 parent fd380f9 commit 21c4f06

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Version changelog
22

3+
## 0.5.3
4+
5+
* Failures in [exporter](https://asciinema.org/a/Rv8ZFJQpfrfp6ggWddjtyXaOy) resource listing no longer halt the entire command run ([#1166](https://github.com/databrickslabs/terraform-provider-databricks/issues/1166)).
6+
7+
Updated dependency versions:
8+
9+
* Bump google.golang.org/api from 0.70.0 to 0.71.0
10+
311
## 0.5.2
412

513
* Added `databricks_catalogs`, `databricks_schemas`, and `databricks_tables` data resources ([#1155](https://github.com/databrickslabs/terraform-provider-databricks/pull/1155)).

exporter/context.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,9 @@ func (ic *importContext) Run() error {
158158
continue
159159
}
160160
if err := ir.List(ic); err != nil {
161-
return err
161+
log.Printf("[ERROR] %s (%s service) listing failed: %s",
162+
resourceName, ir.Service, err)
163+
continue
162164
}
163165
}
164166
if len(ic.Scope) == 0 {

0 commit comments

Comments
 (0)