subcategory |
---|
Workspace |
-> Note This resource has an evolving API, which may change in future versions of the provider.
Manages workspace configuration for expert usage. Currently, more than one instance of resource can exist in Terraform state, though there's no deterministic behavior, when they manage the same property. We strongly recommend to use a single databricks_workspace_conf
per workspace.
-> Note Deleting databricks_workspace_conf
resources may fail depending on the configuration properties set, including but not limited to enableIpAccessLists
, enableGp3
, and maxTokenLifetimeDays
. The provider will print a warning if this occurs. You can verify the workspace configuration by reviewing the workspace settings in the UI.
Allows specification of custom configuration properties for expert usage:
enableIpAccessLists
- enables the use of databricks_ip_access_list resourcesmaxTokenLifetimeDays
- (string) Maximum token lifetime of new tokens in days, as an integer. If zero, new tokens are permitted to have no lifetime limit. Negative numbers are unsupported. WARNING: This limit only applies to new tokens, so there may be tokens with lifetimes longer than this value, including unlimited lifetime. Such tokens may have been created before the current maximum token lifetime was set.enableTokensConfig
- (boolean) Enable or disable personal access tokens for this workspace.enableDeprecatedClusterNamedInitScripts
- (boolean) Enable or disable legacy cluster-named init scripts for this workspace.enableDeprecatedGlobalInitScripts
- (boolean) Enable or disable legacy global init scripts for this workspace.
resource "databricks_workspace_conf" "this" {
custom_config = {
"enableIpAccessLists" : true
}
}
The following arguments are available:
custom_config
- (Required) Key-value map of strings that represent workspace configuration. Upon resource deletion, properties that start withenable
orenforce
will be reset tofalse
value, regardless of initial default one.
-> Note Importing this resource is not currently supported.