Skip to main content

vw_storage_configurations

Creates, updates, deletes, gets or lists a vw_storage_configurations resource.

Overview

Namevw_storage_configurations
TypeView
Iddatabricks_account.provisioning.vw_storage_configurations

Fields

The following fields are returned by this view:

NameDatatypeDescription
account_idstringDatabricks account ID used to scope the query.
storage_configuration_idstringUnique identifier for the storage configuration.
storage_configuration_namestringHuman-readable name of the storage configuration.
creation_timeintegerUnix timestamp (ms) when the storage configuration was created.
role_arnstringARN of the AWS IAM role used to access the root storage bucket (AWS only).
root_bucket_namestringName of the S3 bucket used as the workspace root storage (AWS only).

Required Parameters

The following parameters are required by this view:

NameDatatypeDescription
account_idstringDatabricks account ID used to scope the query.

SELECT Examples

SELECT
account_id,
storage_configuration_id,
storage_configuration_name,
creation_time,
role_arn,
root_bucket_name
FROM databricks_account.provisioning.vw_storage_configurations
WHERE account_id = '{{ account_id }}';

SQL Definition

SELECT
s.account_id,
s.storage_configuration_id,
s.storage_configuration_name,
s.creation_time,
s.role_arn,
JSON_EXTRACT(s.root_bucket_info, '$.bucket_name') AS root_bucket_name
FROM databricks_account.provisioning.storage s
WHERE account_id = '{{ account_id }}'