terraform-provider-databricks
terraform-provider-databricks copied to clipboard
[FEATURE] databricks_connection without including credentials in the Terraform setup
Use-cases
We enjoy for all other objects we maintain in our Terraform setup for databricks not having any credentials/passwords maintained within it. E.g. We creeate secret scopes w/permissions, but not the secrets themselves. Unfortunately, for the connections it requires the credentials while creating the resource. It would be wonderful if we could e.g. reference a databricks secret for the connection options OR leave it unset and then if we modify it in the console, not for those additional options to be removed (I'd prefer the former secrets link)
Attempted Solutions
Proposal
References
https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/connection
It's really a limitation of the APIs - the actual payload expected by API is just a map that terraform needs to send. If some parameters aren't provided then API rejects it...
I understand the API-limiting aspect. I'm hoping you have some access to the API team, for instance ;-)
Also have this need. Tried supplying databricks secret config_reference but it does not work