Skip to content

ShareProvider

laktory.models.resources.databricks.ShareProvider ยค

Bases: ShareProviderBase

Databricks Delta Sharing Provider

A provider is an entity that shares data with a recipient. Declaring one is required to consume shares from an open sharing (token based) provider; Databricks-to-Databricks sharing creates the provider automatically. Maps to the Terraform databricks_provider resource.

Examples:

import io

from laktory import models

provider_yaml = '''
name: partner-org
comment: Market data shared by a partner
authentication_type: TOKEN
recipient_profile_str: ${vars.partner_recipient_profile}
'''
provider = models.resources.databricks.ShareProvider.model_validate_yaml(
    io.StringIO(provider_yaml)
)
References
BASE DESCRIPTION
authentication_type

The delta sharing authentication type. Valid values are TOKEN

TYPE: str | VariableType

comment

Description about the provider

TYPE: str | None | VariableType DEFAULT: None

name

Name of provider. Change forces creation of a new resource

TYPE: str | VariableType

recipient_profile_str

This is the json file that is created from a recipient url

TYPE: str | VariableType