You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data-sources/current_user.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ subcategory: "Security"
5
5
6
6
-> **Note** If you have a fully automated setup with workspaces created by [databricks_mws_workspaces](../resources/mws_workspaces.md) or [azurerm_databricks_workspace](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/databricks_workspace), please make sure to add [depends_on attribute](../index.md#data-resources-and-authentication-is-not-configured-errors) in order to prevent _authentication is not configured for provider_ errors.
7
7
8
-
Retrieves information about [databricks_user](../resources/user.md) or [databricks_service_principal](../resources/service_principal.md), that is calling Databricks REST API. Might be useful in applying the same Terraform by different users in the shared workspace for testing purposes.
8
+
Retrieves information about [databricks_user](../resources/user.md) or [databricks_service_principal](../resources/service_principal.md), that is calling Databricks REST API. Might be useful in applying the same Terraform by different users in the shared workspace for testing purposes.
9
9
10
10
## Example Usage
11
11
@@ -56,15 +56,13 @@ output "job_url" {
56
56
Data source exposes the following attributes:
57
57
58
58
*`id` - The id of the calling user.
59
-
*`application_id` - Application ID of the [service principal](../resources/service_principal.md) if the currently logged-in user is a service principal, e.g. `11111111-2222-3333-4444-555666777888`
60
59
*`external_id` - ID of the user in an external identity provider.
61
-
*`user_name` - Name of the [user](../resources/user.md), e.g. `[email protected]`.
60
+
*`user_name` - Name of the [user](../resources/user.md), e.g. `[email protected]`. If the currently logged-in identity is a [service principal](../resources/service_principal.md), returns the application ID, e.g. `11111111-2222-3333-4444-555666777888`
62
61
*`home` - Home folder of the [user](../resources/user.md), e.g. `/Users/[email protected]`.
63
62
*`repos` - Personal Repos location of the [user](../resources/user.md), e.g. `/Repos/[email protected]`.
64
63
*`alphanumeric` - Alphanumeric representation of user local name. e.g. `mr_foo`.
65
64
*`workspace_url` - URL of the current Databricks workspace.
66
65
67
-
68
66
## Related Resources
69
67
70
68
The following resources are used in the same context:
Copy file name to clipboardExpand all lines: docs/resources/external_location.md
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,11 +3,12 @@ subcategory: "Unity Catalog"
3
3
---
4
4
# databricks_external_location Resource
5
5
6
-
-> **Public Preview** This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). Contact your Databricks representative to request access.
6
+
-> **Public Preview** This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). Contact your Databricks representative to request access.
7
7
8
8
To work with external tables, Unity Catalog introduces two new objects to access and work with external cloud storage:
9
+
9
10
-[databricks_storage_credential](storage_credential.md) represent authentication methods to access cloud storage (e.g. an IAM role for Amazon S3 or a service principal for Azure Storage). Storage credentials are access-controlled to determine which users can use the credential.
10
-
-`databricks_external_location` are objects that combine a cloud storage path with a Storage Credential that can be used to access the location.
11
+
-`databricks_external_location` are objects that combine a cloud storage path with a Storage Credential that can be used to access the location.
*`owner` - (Optional) Username/groupname/sp application_id of the metastore owner.
55
55
*`delta_sharing_scope` - (Optional) Required along with `delta_sharing_recipient_token_lifetime_in_seconds`. Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL.
56
56
*`delta_sharing_recipient_token_lifetime_in_seconds` - (Optional) Required along with `delta_sharing_scope`. Used to set expiration duration in seconds on recipient data access tokens. Set to 0 for unlimited duration.
57
57
*`delta_sharing_organization_name` - (Optional) The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. Once this is set it cannot be removed and can only be modified to another valid value. To delete this value please taint and recreate the resource.
Copy file name to clipboardExpand all lines: docs/resources/table.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ The following arguments are required:
69
69
*`data_source_format` - External tables are supported in multiple data source formats. The string constants identifying these formats are `DELTA`, `CSV`, `JSON`, `AVRO`, `PARQUET`, `ORC`, `TEXT`
70
70
*`view_definition` - (Optional) SQL text defining the view (for `table_type == "VIEW"`)
71
71
*`storage_credential_name` - (Optional) For EXTERNAL Tables only: the name of storage credential to use. This cannot be updated
0 commit comments