databricks-sdk-go
databricks-sdk-go copied to clipboard
[ISSUE] Databricks Provider Resources should be optional but are not represented as such
Description The docs for the databricks_provider resource (https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/provider) say that authentication_type and recipient_profile_str are optional. However, I'm getting a bug that makes it seems like they're required from the CreateProvider struct.
Reproduction A minimal code sample demonstrating the bug.
Expected behavior Only name should be required.
Is it a regression? Did this work in a previous version of the SDK? If so, which versions did you try?
Debug Logs
The SDK logs helpful debugging information when debug logging is enabled. Set the log level to Trace by configuring the default logger to log at trace (for example: add logger.DefaultLogger = &logger.SimpleLogger{Level: logger.LevelTrace} to your program), and include the logs here.
Other Information
- OS: [e.g. macOS]
- Version: [e.g. 0.1.0]
Additional context Add any other context about the problem here.