databricks-sdk-go icon indicating copy to clipboard operation
databricks-sdk-go copied to clipboard

[ISSUE] `destination` field in the structures for init script configurations is marked `omitempty` although it's required

Open alexott opened this issue 2 years ago • 1 comments

Description

It could be more of an issue with OpenAPI spec, but still want to report it here because it prevents correct usage in the Terraform provider. The destination field in DbfsStorageInfo, WorkspaceStorageInfo and other structures related to init scripts is marked as omitempty, although it's required. As result, validation in terraform will not catch it up during the planning phase, and it will fail only during apply.

alexott avatar Sep 10 '23 09:09 alexott

Please make PRs to the relevant OpenAPI specs

nfx avatar Sep 10 '23 20:09 nfx