Skip to content

Latest commit

 

History

History
63 lines (49 loc) · 4.52 KB

File metadata and controls

63 lines (49 loc) · 4.52 KB

Module aws-databricks-unity-catalog

Description

This module creates a Databricks Unity Catalog Metastore and Storage Credential for said metastore. It automatically creates an IAM role suitable for Unity Catalog and attaches it to the newly created metastore.

Requirements

Name Version
aws >=4.57.0
databricks >=1.24.1

Providers

Name Version
aws >=4.57.0
databricks >=1.24.1
time n/a

Modules

No modules.

Resources

Name Type
aws_iam_policy.sample_data resource
aws_iam_policy.unity_metastore resource
aws_iam_role.metastore_data_access resource
aws_s3_bucket.metastore resource
aws_s3_bucket_public_access_block.metastore resource
aws_s3_bucket_server_side_encryption_configuration.root_storage_bucket resource
aws_s3_bucket_versioning.versioning_example resource
databricks_default_namespace_setting.this resource
databricks_metastore.this resource
databricks_metastore_assignment.default_metastore resource
databricks_metastore_data_access.this resource
time_sleep.wait_role_creation resource
aws_iam_policy_document.passrole_for_uc data source

Inputs

Name Description Type Default Required
aws_account_id (Required) AWS account ID where the cross-account role for Unity Catalog will be created string n/a yes
databricks_account_id (Required) Databricks Account ID string n/a yes
prefix (Required) Prefix to name the resources created by this module string n/a yes
region (Required) AWS region where the assets will be deployed string n/a yes
unity_metastore_owner (Required) Name of the principal that will be the owner of the Metastore string n/a yes
databricks_workspace_ids List of Databricks workspace IDs to be enabled with Unity Catalog.
Enter with square brackets and double quotes
e.g. ["111111111", "222222222"]
list(string) [] no
metastore_name (Optional) Name of the metastore that will be created string null no
tags (Optional) List of tags to be propagated across all assets in this demo map(string) {} no

Outputs

Name Description
metastore_id Unity Catalog Metastore ID