1. Registry
  2. Packages
  3. Snowflake Provider
  4. API Docs
  5. SharedDatabase
Viewing docs for Snowflake v2.23.0
published on Friday, Nov 6, 2026 by Pulumi
snowflake logo
Viewing docs for Snowflake v2.23.0
published on Friday, Nov 6, 2026 by Pulumi

    Note The provider does not detect external changes on database type. In this case, remove the database of wrong type manually with terraform destroy and recreate the resource. It will be addressed in the future.

    Note After creating a shared database, it may take some time for the database to be available. The provider does not wait for the database to be available. The database is available when the origin field is set to an external object identifier pointing to a valid address.

    Note A database cannot be dropped successfully if it contains network rule-network policy associations. The error looks like 098507 (2BP01): Cannot drop database DATABASE as it includes network rule - policy associations.. Currently, the provider does not unassign such objects automatically. Before dropping the resource, first unassign the network rule from the relevant objects. See guide for more details.

    A shared database creates a database from a share provided by another Snowflake account. For more information about shares, see Introduction to Secure Data Sharing.

    Create SharedDatabase Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SharedDatabase(name: string, args: SharedDatabaseArgs, opts?: CustomResourceOptions);
    @overload
    def SharedDatabase(resource_name: str,
                       args: SharedDatabaseArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def SharedDatabase(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       from_share: Optional[str] = None,
                       name: Optional[str] = None,
                       quoted_identifiers_ignore_case: Optional[bool] = None,
                       default_notebook_compute_pool_cpu: Optional[str] = None,
                       catalog: Optional[str] = None,
                       enable_console_output: Optional[bool] = None,
                       external_volume: Optional[str] = None,
                       comment: Optional[str] = None,
                       log_event_level: Optional[str] = None,
                       default_ddl_collation: Optional[str] = None,
                       log_level: Optional[str] = None,
                       default_notebook_compute_pool_gpu: Optional[str] = None,
                       replace_invalid_characters: Optional[bool] = None,
                       storage_serialization_policy: Optional[str] = None,
                       suspend_task_after_num_failures: Optional[int] = None,
                       task_auto_retry_attempts: Optional[int] = None,
                       trace_level: Optional[str] = None,
                       user_task_managed_initial_warehouse_size: Optional[str] = None,
                       user_task_minimum_trigger_interval_in_seconds: Optional[int] = None,
                       user_task_timeout_ms: Optional[int] = None)
    func NewSharedDatabase(ctx *Context, name string, args SharedDatabaseArgs, opts ...ResourceOption) (*SharedDatabase, error)
    public SharedDatabase(string name, SharedDatabaseArgs args, CustomResourceOptions? opts = null)
    public SharedDatabase(String name, SharedDatabaseArgs args)
    public SharedDatabase(String name, SharedDatabaseArgs args, CustomResourceOptions options)
    
    type: snowflake:SharedDatabase
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "snowflake_shared_database" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args SharedDatabaseArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SharedDatabaseArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SharedDatabaseArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SharedDatabaseArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SharedDatabaseArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var sharedDatabaseResource = new Snowflake.SharedDatabase("sharedDatabaseResource", new()
    {
        FromShare = "string",
        Name = "string",
        QuotedIdentifiersIgnoreCase = false,
        DefaultNotebookComputePoolCpu = "string",
        Catalog = "string",
        EnableConsoleOutput = false,
        ExternalVolume = "string",
        Comment = "string",
        LogEventLevel = "string",
        DefaultDdlCollation = "string",
        LogLevel = "string",
        DefaultNotebookComputePoolGpu = "string",
        ReplaceInvalidCharacters = false,
        StorageSerializationPolicy = "string",
        SuspendTaskAfterNumFailures = 0,
        TaskAutoRetryAttempts = 0,
        TraceLevel = "string",
        UserTaskManagedInitialWarehouseSize = "string",
        UserTaskMinimumTriggerIntervalInSeconds = 0,
        UserTaskTimeoutMs = 0,
    });
    
    example, err := snowflake.NewSharedDatabase(ctx, "sharedDatabaseResource", &snowflake.SharedDatabaseArgs{
    	FromShare:                               pulumi.String("string"),
    	Name:                                    pulumi.String("string"),
    	QuotedIdentifiersIgnoreCase:             pulumi.Bool(false),
    	DefaultNotebookComputePoolCpu:           pulumi.String("string"),
    	Catalog:                                 pulumi.String("string"),
    	EnableConsoleOutput:                     pulumi.Bool(false),
    	ExternalVolume:                          pulumi.String("string"),
    	Comment:                                 pulumi.String("string"),
    	LogEventLevel:                           pulumi.String("string"),
    	DefaultDdlCollation:                     pulumi.String("string"),
    	LogLevel:                                pulumi.String("string"),
    	DefaultNotebookComputePoolGpu:           pulumi.String("string"),
    	ReplaceInvalidCharacters:                pulumi.Bool(false),
    	StorageSerializationPolicy:              pulumi.String("string"),
    	SuspendTaskAfterNumFailures:             pulumi.Int(0),
    	TaskAutoRetryAttempts:                   pulumi.Int(0),
    	TraceLevel:                              pulumi.String("string"),
    	UserTaskManagedInitialWarehouseSize:     pulumi.String("string"),
    	UserTaskMinimumTriggerIntervalInSeconds: pulumi.Int(0),
    	UserTaskTimeoutMs:                       pulumi.Int(0),
    })
    
    resource "snowflake_shared_database" "sharedDatabaseResource" {
      lifecycle {
        create_before_destroy = true
      }
      from_share                                    = "string"
      name                                          = "string"
      quoted_identifiers_ignore_case                = false
      default_notebook_compute_pool_cpu             = "string"
      catalog                                       = "string"
      enable_console_output                         = false
      external_volume                               = "string"
      comment                                       = "string"
      log_event_level                               = "string"
      default_ddl_collation                         = "string"
      log_level                                     = "string"
      default_notebook_compute_pool_gpu             = "string"
      replace_invalid_characters                    = false
      storage_serialization_policy                  = "string"
      suspend_task_after_num_failures               = 0
      task_auto_retry_attempts                      = 0
      trace_level                                   = "string"
      user_task_managed_initial_warehouse_size      = "string"
      user_task_minimum_trigger_interval_in_seconds = 0
      user_task_timeout_ms                          = 0
    }
    
    var sharedDatabaseResource = new SharedDatabase("sharedDatabaseResource", SharedDatabaseArgs.builder()
        .fromShare("string")
        .name("string")
        .quotedIdentifiersIgnoreCase(false)
        .defaultNotebookComputePoolCpu("string")
        .catalog("string")
        .enableConsoleOutput(false)
        .externalVolume("string")
        .comment("string")
        .logEventLevel("string")
        .defaultDdlCollation("string")
        .logLevel("string")
        .defaultNotebookComputePoolGpu("string")
        .replaceInvalidCharacters(false)
        .storageSerializationPolicy("string")
        .suspendTaskAfterNumFailures(0)
        .taskAutoRetryAttempts(0)
        .traceLevel("string")
        .userTaskManagedInitialWarehouseSize("string")
        .userTaskMinimumTriggerIntervalInSeconds(0)
        .userTaskTimeoutMs(0)
        .build());
    
    shared_database_resource = snowflake.SharedDatabase("sharedDatabaseResource",
        from_share="string",
        name="string",
        quoted_identifiers_ignore_case=False,
        default_notebook_compute_pool_cpu="string",
        catalog="string",
        enable_console_output=False,
        external_volume="string",
        comment="string",
        log_event_level="string",
        default_ddl_collation="string",
        log_level="string",
        default_notebook_compute_pool_gpu="string",
        replace_invalid_characters=False,
        storage_serialization_policy="string",
        suspend_task_after_num_failures=0,
        task_auto_retry_attempts=0,
        trace_level="string",
        user_task_managed_initial_warehouse_size="string",
        user_task_minimum_trigger_interval_in_seconds=0,
        user_task_timeout_ms=0)
    
    const sharedDatabaseResource = new snowflake.SharedDatabase("sharedDatabaseResource", {
        fromShare: "string",
        name: "string",
        quotedIdentifiersIgnoreCase: false,
        defaultNotebookComputePoolCpu: "string",
        catalog: "string",
        enableConsoleOutput: false,
        externalVolume: "string",
        comment: "string",
        logEventLevel: "string",
        defaultDdlCollation: "string",
        logLevel: "string",
        defaultNotebookComputePoolGpu: "string",
        replaceInvalidCharacters: false,
        storageSerializationPolicy: "string",
        suspendTaskAfterNumFailures: 0,
        taskAutoRetryAttempts: 0,
        traceLevel: "string",
        userTaskManagedInitialWarehouseSize: "string",
        userTaskMinimumTriggerIntervalInSeconds: 0,
        userTaskTimeoutMs: 0,
    });
    
    type: snowflake:SharedDatabase
    properties:
        catalog: string
        comment: string
        defaultDdlCollation: string
        defaultNotebookComputePoolCpu: string
        defaultNotebookComputePoolGpu: string
        enableConsoleOutput: false
        externalVolume: string
        fromShare: string
        logEventLevel: string
        logLevel: string
        name: string
        quotedIdentifiersIgnoreCase: false
        replaceInvalidCharacters: false
        storageSerializationPolicy: string
        suspendTaskAfterNumFailures: 0
        taskAutoRetryAttempts: 0
        traceLevel: string
        userTaskManagedInitialWarehouseSize: string
        userTaskMinimumTriggerIntervalInSeconds: 0
        userTaskTimeoutMs: 0
    

    SharedDatabase Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The SharedDatabase resource accepts the following input properties:

    FromShare string
    A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of "<organization_name>"."<account_name>"."<share_name>". For more information about this resource, see docs.
    Catalog string
    The parameter that specifies the default catalog to use for Iceberg tables. For more information, check CATALOG docs.
    Comment string
    Specifies a comment for the database.
    DefaultDdlCollation string
    Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see collation specification. For more information, check DEFAULTDDLCOLLATION docs.
    DefaultNotebookComputePoolCpu string
    Sets the preferred CPU compute pool used for Notebooks on CPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLCPU docs.
    DefaultNotebookComputePoolGpu string
    Sets the preferred GPU compute pool used for Notebooks on GPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLGPU docs.
    EnableConsoleOutput bool
    If true, enables stdout/stderr fast path logging for anonymous stored procedures. For more information, check ENABLECONSOLEOUTPUT docs.
    ExternalVolume string
    The parameter that specifies the default external volume to use for Iceberg tables. For more information, check EXTERNAL_VOLUME docs.
    LogEventLevel string
    Specifies the severity level of log events (rows with record type EVENT) that should be ingested and made available in the active event table. Log events at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOGEVENTLEVEL docs.
    LogLevel string
    Specifies the severity level of messages that should be ingested and made available in the active event table. Messages at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOG_LEVEL docs.
    Name string
    Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    QuotedIdentifiersIgnoreCase bool
    If true, the case of quoted identifiers is ignored. For more information, check QUOTEDIDENTIFIERSIGNORE_CASE docs.
    ReplaceInvalidCharacters bool
    Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, check REPLACEINVALIDCHARACTERS docs.
    StorageSerializationPolicy string
    The storage serialization policy for Iceberg tables that use Snowflake as the catalog. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. Valid values are (case-insensitive): COMPATIBLE | OPTIMIZED. For more information, check STORAGESERIALIZATIONPOLICY docs.
    SuspendTaskAfterNumFailures int
    How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, check SUSPENDTASKAFTERNUMFAILURES docs.
    TaskAutoRetryAttempts int
    Maximum automatic retries allowed for a user task. For more information, check TASKAUTORETRY_ATTEMPTS docs.
    TraceLevel string
    Controls how trace events are ingested into the event table. Valid values are (case-insensitive): ALWAYS | ON_EVENT | PROPAGATE | OFF. For more information, check TRACE_LEVEL docs.
    UserTaskManagedInitialWarehouseSize string
    The initial size of warehouse to use for managed warehouses in the absence of history. Valid values are (case-insensitive): XSMALL | SMALL | MEDIUM | LARGE | XLARGE | XXLARGE | XXXLARGE | X4LARGE | X5LARGE | X6LARGE. For more information, check USERTASKMANAGEDINITIALWAREHOUSE_SIZE docs.
    UserTaskMinimumTriggerIntervalInSeconds int
    Minimum amount of time between Triggered Task executions in seconds. For more information, check USERTASKMINIMUMTRIGGERINTERVALINSECONDS docs.
    UserTaskTimeoutMs int
    User task execution timeout in milliseconds. For more information, check USERTASKTIMEOUT_MS docs.
    FromShare string
    A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of "<organization_name>"."<account_name>"."<share_name>". For more information about this resource, see docs.
    Catalog string
    The parameter that specifies the default catalog to use for Iceberg tables. For more information, check CATALOG docs.
    Comment string
    Specifies a comment for the database.
    DefaultDdlCollation string
    Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see collation specification. For more information, check DEFAULTDDLCOLLATION docs.
    DefaultNotebookComputePoolCpu string
    Sets the preferred CPU compute pool used for Notebooks on CPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLCPU docs.
    DefaultNotebookComputePoolGpu string
    Sets the preferred GPU compute pool used for Notebooks on GPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLGPU docs.
    EnableConsoleOutput bool
    If true, enables stdout/stderr fast path logging for anonymous stored procedures. For more information, check ENABLECONSOLEOUTPUT docs.
    ExternalVolume string
    The parameter that specifies the default external volume to use for Iceberg tables. For more information, check EXTERNAL_VOLUME docs.
    LogEventLevel string
    Specifies the severity level of log events (rows with record type EVENT) that should be ingested and made available in the active event table. Log events at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOGEVENTLEVEL docs.
    LogLevel string
    Specifies the severity level of messages that should be ingested and made available in the active event table. Messages at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOG_LEVEL docs.
    Name string
    Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    QuotedIdentifiersIgnoreCase bool
    If true, the case of quoted identifiers is ignored. For more information, check QUOTEDIDENTIFIERSIGNORE_CASE docs.
    ReplaceInvalidCharacters bool
    Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, check REPLACEINVALIDCHARACTERS docs.
    StorageSerializationPolicy string
    The storage serialization policy for Iceberg tables that use Snowflake as the catalog. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. Valid values are (case-insensitive): COMPATIBLE | OPTIMIZED. For more information, check STORAGESERIALIZATIONPOLICY docs.
    SuspendTaskAfterNumFailures int
    How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, check SUSPENDTASKAFTERNUMFAILURES docs.
    TaskAutoRetryAttempts int
    Maximum automatic retries allowed for a user task. For more information, check TASKAUTORETRY_ATTEMPTS docs.
    TraceLevel string
    Controls how trace events are ingested into the event table. Valid values are (case-insensitive): ALWAYS | ON_EVENT | PROPAGATE | OFF. For more information, check TRACE_LEVEL docs.
    UserTaskManagedInitialWarehouseSize string
    The initial size of warehouse to use for managed warehouses in the absence of history. Valid values are (case-insensitive): XSMALL | SMALL | MEDIUM | LARGE | XLARGE | XXLARGE | XXXLARGE | X4LARGE | X5LARGE | X6LARGE. For more information, check USERTASKMANAGEDINITIALWAREHOUSE_SIZE docs.
    UserTaskMinimumTriggerIntervalInSeconds int
    Minimum amount of time between Triggered Task executions in seconds. For more information, check USERTASKMINIMUMTRIGGERINTERVALINSECONDS docs.
    UserTaskTimeoutMs int
    User task execution timeout in milliseconds. For more information, check USERTASKTIMEOUT_MS docs.
    from_share string
    A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of "<organization_name>"."<account_name>"."<share_name>". For more information about this resource, see docs.
    catalog string
    The parameter that specifies the default catalog to use for Iceberg tables. For more information, check CATALOG docs.
    comment string
    Specifies a comment for the database.
    default_ddl_collation string
    Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see collation specification. For more information, check DEFAULTDDLCOLLATION docs.
    default_notebook_compute_pool_cpu string
    Sets the preferred CPU compute pool used for Notebooks on CPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLCPU docs.
    default_notebook_compute_pool_gpu string
    Sets the preferred GPU compute pool used for Notebooks on GPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLGPU docs.
    enable_console_output bool
    If true, enables stdout/stderr fast path logging for anonymous stored procedures. For more information, check ENABLECONSOLEOUTPUT docs.
    external_volume string
    The parameter that specifies the default external volume to use for Iceberg tables. For more information, check EXTERNAL_VOLUME docs.
    log_event_level string
    Specifies the severity level of log events (rows with record type EVENT) that should be ingested and made available in the active event table. Log events at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOGEVENTLEVEL docs.
    log_level string
    Specifies the severity level of messages that should be ingested and made available in the active event table. Messages at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOG_LEVEL docs.
    name string
    Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    quoted_identifiers_ignore_case bool
    If true, the case of quoted identifiers is ignored. For more information, check QUOTEDIDENTIFIERSIGNORE_CASE docs.
    replace_invalid_characters bool
    Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, check REPLACEINVALIDCHARACTERS docs.
    storage_serialization_policy string
    The storage serialization policy for Iceberg tables that use Snowflake as the catalog. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. Valid values are (case-insensitive): COMPATIBLE | OPTIMIZED. For more information, check STORAGESERIALIZATIONPOLICY docs.
    suspend_task_after_num_failures number
    How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, check SUSPENDTASKAFTERNUMFAILURES docs.
    task_auto_retry_attempts number
    Maximum automatic retries allowed for a user task. For more information, check TASKAUTORETRY_ATTEMPTS docs.
    trace_level string
    Controls how trace events are ingested into the event table. Valid values are (case-insensitive): ALWAYS | ON_EVENT | PROPAGATE | OFF. For more information, check TRACE_LEVEL docs.
    user_task_managed_initial_warehouse_size string
    The initial size of warehouse to use for managed warehouses in the absence of history. Valid values are (case-insensitive): XSMALL | SMALL | MEDIUM | LARGE | XLARGE | XXLARGE | XXXLARGE | X4LARGE | X5LARGE | X6LARGE. For more information, check USERTASKMANAGEDINITIALWAREHOUSE_SIZE docs.
    user_task_minimum_trigger_interval_in_seconds number
    Minimum amount of time between Triggered Task executions in seconds. For more information, check USERTASKMINIMUMTRIGGERINTERVALINSECONDS docs.
    user_task_timeout_ms number
    User task execution timeout in milliseconds. For more information, check USERTASKTIMEOUT_MS docs.
    fromShare String
    A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of "<organization_name>"."<account_name>"."<share_name>". For more information about this resource, see docs.
    catalog String
    The parameter that specifies the default catalog to use for Iceberg tables. For more information, check CATALOG docs.
    comment String
    Specifies a comment for the database.
    defaultDdlCollation String
    Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see collation specification. For more information, check DEFAULTDDLCOLLATION docs.
    defaultNotebookComputePoolCpu String
    Sets the preferred CPU compute pool used for Notebooks on CPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLCPU docs.
    defaultNotebookComputePoolGpu String
    Sets the preferred GPU compute pool used for Notebooks on GPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLGPU docs.
    enableConsoleOutput Boolean
    If true, enables stdout/stderr fast path logging for anonymous stored procedures. For more information, check ENABLECONSOLEOUTPUT docs.
    externalVolume String
    The parameter that specifies the default external volume to use for Iceberg tables. For more information, check EXTERNAL_VOLUME docs.
    logEventLevel String
    Specifies the severity level of log events (rows with record type EVENT) that should be ingested and made available in the active event table. Log events at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOGEVENTLEVEL docs.
    logLevel String
    Specifies the severity level of messages that should be ingested and made available in the active event table. Messages at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOG_LEVEL docs.
    name String
    Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    quotedIdentifiersIgnoreCase Boolean
    If true, the case of quoted identifiers is ignored. For more information, check QUOTEDIDENTIFIERSIGNORE_CASE docs.
    replaceInvalidCharacters Boolean
    Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, check REPLACEINVALIDCHARACTERS docs.
    storageSerializationPolicy String
    The storage serialization policy for Iceberg tables that use Snowflake as the catalog. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. Valid values are (case-insensitive): COMPATIBLE | OPTIMIZED. For more information, check STORAGESERIALIZATIONPOLICY docs.
    suspendTaskAfterNumFailures Integer
    How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, check SUSPENDTASKAFTERNUMFAILURES docs.
    taskAutoRetryAttempts Integer
    Maximum automatic retries allowed for a user task. For more information, check TASKAUTORETRY_ATTEMPTS docs.
    traceLevel String
    Controls how trace events are ingested into the event table. Valid values are (case-insensitive): ALWAYS | ON_EVENT | PROPAGATE | OFF. For more information, check TRACE_LEVEL docs.
    userTaskManagedInitialWarehouseSize String
    The initial size of warehouse to use for managed warehouses in the absence of history. Valid values are (case-insensitive): XSMALL | SMALL | MEDIUM | LARGE | XLARGE | XXLARGE | XXXLARGE | X4LARGE | X5LARGE | X6LARGE. For more information, check USERTASKMANAGEDINITIALWAREHOUSE_SIZE docs.
    userTaskMinimumTriggerIntervalInSeconds Integer
    Minimum amount of time between Triggered Task executions in seconds. For more information, check USERTASKMINIMUMTRIGGERINTERVALINSECONDS docs.
    userTaskTimeoutMs Integer
    User task execution timeout in milliseconds. For more information, check USERTASKTIMEOUT_MS docs.
    fromShare string
    A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of "<organization_name>"."<account_name>"."<share_name>". For more information about this resource, see docs.
    catalog string
    The parameter that specifies the default catalog to use for Iceberg tables. For more information, check CATALOG docs.
    comment string
    Specifies a comment for the database.
    defaultDdlCollation string
    Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see collation specification. For more information, check DEFAULTDDLCOLLATION docs.
    defaultNotebookComputePoolCpu string
    Sets the preferred CPU compute pool used for Notebooks on CPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLCPU docs.
    defaultNotebookComputePoolGpu string
    Sets the preferred GPU compute pool used for Notebooks on GPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLGPU docs.
    enableConsoleOutput boolean
    If true, enables stdout/stderr fast path logging for anonymous stored procedures. For more information, check ENABLECONSOLEOUTPUT docs.
    externalVolume string
    The parameter that specifies the default external volume to use for Iceberg tables. For more information, check EXTERNAL_VOLUME docs.
    logEventLevel string
    Specifies the severity level of log events (rows with record type EVENT) that should be ingested and made available in the active event table. Log events at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOGEVENTLEVEL docs.
    logLevel string
    Specifies the severity level of messages that should be ingested and made available in the active event table. Messages at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOG_LEVEL docs.
    name string
    Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    quotedIdentifiersIgnoreCase boolean
    If true, the case of quoted identifiers is ignored. For more information, check QUOTEDIDENTIFIERSIGNORE_CASE docs.
    replaceInvalidCharacters boolean
    Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, check REPLACEINVALIDCHARACTERS docs.
    storageSerializationPolicy string
    The storage serialization policy for Iceberg tables that use Snowflake as the catalog. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. Valid values are (case-insensitive): COMPATIBLE | OPTIMIZED. For more information, check STORAGESERIALIZATIONPOLICY docs.
    suspendTaskAfterNumFailures number
    How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, check SUSPENDTASKAFTERNUMFAILURES docs.
    taskAutoRetryAttempts number
    Maximum automatic retries allowed for a user task. For more information, check TASKAUTORETRY_ATTEMPTS docs.
    traceLevel string
    Controls how trace events are ingested into the event table. Valid values are (case-insensitive): ALWAYS | ON_EVENT | PROPAGATE | OFF. For more information, check TRACE_LEVEL docs.
    userTaskManagedInitialWarehouseSize string
    The initial size of warehouse to use for managed warehouses in the absence of history. Valid values are (case-insensitive): XSMALL | SMALL | MEDIUM | LARGE | XLARGE | XXLARGE | XXXLARGE | X4LARGE | X5LARGE | X6LARGE. For more information, check USERTASKMANAGEDINITIALWAREHOUSE_SIZE docs.
    userTaskMinimumTriggerIntervalInSeconds number
    Minimum amount of time between Triggered Task executions in seconds. For more information, check USERTASKMINIMUMTRIGGERINTERVALINSECONDS docs.
    userTaskTimeoutMs number
    User task execution timeout in milliseconds. For more information, check USERTASKTIMEOUT_MS docs.
    from_share str
    A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of "<organization_name>"."<account_name>"."<share_name>". For more information about this resource, see docs.
    catalog str
    The parameter that specifies the default catalog to use for Iceberg tables. For more information, check CATALOG docs.
    comment str
    Specifies a comment for the database.
    default_ddl_collation str
    Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see collation specification. For more information, check DEFAULTDDLCOLLATION docs.
    default_notebook_compute_pool_cpu str
    Sets the preferred CPU compute pool used for Notebooks on CPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLCPU docs.
    default_notebook_compute_pool_gpu str
    Sets the preferred GPU compute pool used for Notebooks on GPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLGPU docs.
    enable_console_output bool
    If true, enables stdout/stderr fast path logging for anonymous stored procedures. For more information, check ENABLECONSOLEOUTPUT docs.
    external_volume str
    The parameter that specifies the default external volume to use for Iceberg tables. For more information, check EXTERNAL_VOLUME docs.
    log_event_level str
    Specifies the severity level of log events (rows with record type EVENT) that should be ingested and made available in the active event table. Log events at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOGEVENTLEVEL docs.
    log_level str
    Specifies the severity level of messages that should be ingested and made available in the active event table. Messages at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOG_LEVEL docs.
    name str
    Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    quoted_identifiers_ignore_case bool
    If true, the case of quoted identifiers is ignored. For more information, check QUOTEDIDENTIFIERSIGNORE_CASE docs.
    replace_invalid_characters bool
    Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, check REPLACEINVALIDCHARACTERS docs.
    storage_serialization_policy str
    The storage serialization policy for Iceberg tables that use Snowflake as the catalog. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. Valid values are (case-insensitive): COMPATIBLE | OPTIMIZED. For more information, check STORAGESERIALIZATIONPOLICY docs.
    suspend_task_after_num_failures int
    How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, check SUSPENDTASKAFTERNUMFAILURES docs.
    task_auto_retry_attempts int
    Maximum automatic retries allowed for a user task. For more information, check TASKAUTORETRY_ATTEMPTS docs.
    trace_level str
    Controls how trace events are ingested into the event table. Valid values are (case-insensitive): ALWAYS | ON_EVENT | PROPAGATE | OFF. For more information, check TRACE_LEVEL docs.
    user_task_managed_initial_warehouse_size str
    The initial size of warehouse to use for managed warehouses in the absence of history. Valid values are (case-insensitive): XSMALL | SMALL | MEDIUM | LARGE | XLARGE | XXLARGE | XXXLARGE | X4LARGE | X5LARGE | X6LARGE. For more information, check USERTASKMANAGEDINITIALWAREHOUSE_SIZE docs.
    user_task_minimum_trigger_interval_in_seconds int
    Minimum amount of time between Triggered Task executions in seconds. For more information, check USERTASKMINIMUMTRIGGERINTERVALINSECONDS docs.
    user_task_timeout_ms int
    User task execution timeout in milliseconds. For more information, check USERTASKTIMEOUT_MS docs.
    fromShare String
    A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of "<organization_name>"."<account_name>"."<share_name>". For more information about this resource, see docs.
    catalog String
    The parameter that specifies the default catalog to use for Iceberg tables. For more information, check CATALOG docs.
    comment String
    Specifies a comment for the database.
    defaultDdlCollation String
    Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see collation specification. For more information, check DEFAULTDDLCOLLATION docs.
    defaultNotebookComputePoolCpu String
    Sets the preferred CPU compute pool used for Notebooks on CPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLCPU docs.
    defaultNotebookComputePoolGpu String
    Sets the preferred GPU compute pool used for Notebooks on GPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLGPU docs.
    enableConsoleOutput Boolean
    If true, enables stdout/stderr fast path logging for anonymous stored procedures. For more information, check ENABLECONSOLEOUTPUT docs.
    externalVolume String
    The parameter that specifies the default external volume to use for Iceberg tables. For more information, check EXTERNAL_VOLUME docs.
    logEventLevel String
    Specifies the severity level of log events (rows with record type EVENT) that should be ingested and made available in the active event table. Log events at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOGEVENTLEVEL docs.
    logLevel String
    Specifies the severity level of messages that should be ingested and made available in the active event table. Messages at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOG_LEVEL docs.
    name String
    Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    quotedIdentifiersIgnoreCase Boolean
    If true, the case of quoted identifiers is ignored. For more information, check QUOTEDIDENTIFIERSIGNORE_CASE docs.
    replaceInvalidCharacters Boolean
    Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, check REPLACEINVALIDCHARACTERS docs.
    storageSerializationPolicy String
    The storage serialization policy for Iceberg tables that use Snowflake as the catalog. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. Valid values are (case-insensitive): COMPATIBLE | OPTIMIZED. For more information, check STORAGESERIALIZATIONPOLICY docs.
    suspendTaskAfterNumFailures Number
    How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, check SUSPENDTASKAFTERNUMFAILURES docs.
    taskAutoRetryAttempts Number
    Maximum automatic retries allowed for a user task. For more information, check TASKAUTORETRY_ATTEMPTS docs.
    traceLevel String
    Controls how trace events are ingested into the event table. Valid values are (case-insensitive): ALWAYS | ON_EVENT | PROPAGATE | OFF. For more information, check TRACE_LEVEL docs.
    userTaskManagedInitialWarehouseSize String
    The initial size of warehouse to use for managed warehouses in the absence of history. Valid values are (case-insensitive): XSMALL | SMALL | MEDIUM | LARGE | XLARGE | XXLARGE | XXXLARGE | X4LARGE | X5LARGE | X6LARGE. For more information, check USERTASKMANAGEDINITIALWAREHOUSE_SIZE docs.
    userTaskMinimumTriggerIntervalInSeconds Number
    Minimum amount of time between Triggered Task executions in seconds. For more information, check USERTASKMINIMUMTRIGGERINTERVALINSECONDS docs.
    userTaskTimeoutMs Number
    User task execution timeout in milliseconds. For more information, check USERTASKTIMEOUT_MS docs.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SharedDatabase resource produces the following output properties:

    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    Id string
    The provider-assigned unique ID for this managed resource.
    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    Id string
    The provider-assigned unique ID for this managed resource.
    fully_qualified_name string
    Fully qualified name of the resource. For more information, see object name resolution.
    id string
    The provider-assigned unique ID for this managed resource.
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    id String
    The provider-assigned unique ID for this managed resource.
    fullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    id string
    The provider-assigned unique ID for this managed resource.
    fully_qualified_name str
    Fully qualified name of the resource. For more information, see object name resolution.
    id str
    The provider-assigned unique ID for this managed resource.
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing SharedDatabase Resource

    Get an existing SharedDatabase resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SharedDatabaseState, opts?: CustomResourceOptions): SharedDatabase
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            catalog: Optional[str] = None,
            comment: Optional[str] = None,
            default_ddl_collation: Optional[str] = None,
            default_notebook_compute_pool_cpu: Optional[str] = None,
            default_notebook_compute_pool_gpu: Optional[str] = None,
            enable_console_output: Optional[bool] = None,
            external_volume: Optional[str] = None,
            from_share: Optional[str] = None,
            fully_qualified_name: Optional[str] = None,
            log_event_level: Optional[str] = None,
            log_level: Optional[str] = None,
            name: Optional[str] = None,
            quoted_identifiers_ignore_case: Optional[bool] = None,
            replace_invalid_characters: Optional[bool] = None,
            storage_serialization_policy: Optional[str] = None,
            suspend_task_after_num_failures: Optional[int] = None,
            task_auto_retry_attempts: Optional[int] = None,
            trace_level: Optional[str] = None,
            user_task_managed_initial_warehouse_size: Optional[str] = None,
            user_task_minimum_trigger_interval_in_seconds: Optional[int] = None,
            user_task_timeout_ms: Optional[int] = None) -> SharedDatabase
    func GetSharedDatabase(ctx *Context, name string, id IDInput, state *SharedDatabaseState, opts ...ResourceOption) (*SharedDatabase, error)
    public static SharedDatabase Get(string name, Input<string> id, SharedDatabaseState? state, CustomResourceOptions? opts = null)
    public static SharedDatabase get(String name, Output<String> id, SharedDatabaseState state, CustomResourceOptions options)
    resources:  _:    type: snowflake:SharedDatabase    get:      id: ${id}
    import {
      to = snowflake_shared_database.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Catalog string
    The parameter that specifies the default catalog to use for Iceberg tables. For more information, check CATALOG docs.
    Comment string
    Specifies a comment for the database.
    DefaultDdlCollation string
    Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see collation specification. For more information, check DEFAULTDDLCOLLATION docs.
    DefaultNotebookComputePoolCpu string
    Sets the preferred CPU compute pool used for Notebooks on CPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLCPU docs.
    DefaultNotebookComputePoolGpu string
    Sets the preferred GPU compute pool used for Notebooks on GPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLGPU docs.
    EnableConsoleOutput bool
    If true, enables stdout/stderr fast path logging for anonymous stored procedures. For more information, check ENABLECONSOLEOUTPUT docs.
    ExternalVolume string
    The parameter that specifies the default external volume to use for Iceberg tables. For more information, check EXTERNAL_VOLUME docs.
    FromShare string
    A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of "<organization_name>"."<account_name>"."<share_name>". For more information about this resource, see docs.
    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    LogEventLevel string
    Specifies the severity level of log events (rows with record type EVENT) that should be ingested and made available in the active event table. Log events at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOGEVENTLEVEL docs.
    LogLevel string
    Specifies the severity level of messages that should be ingested and made available in the active event table. Messages at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOG_LEVEL docs.
    Name string
    Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    QuotedIdentifiersIgnoreCase bool
    If true, the case of quoted identifiers is ignored. For more information, check QUOTEDIDENTIFIERSIGNORE_CASE docs.
    ReplaceInvalidCharacters bool
    Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, check REPLACEINVALIDCHARACTERS docs.
    StorageSerializationPolicy string
    The storage serialization policy for Iceberg tables that use Snowflake as the catalog. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. Valid values are (case-insensitive): COMPATIBLE | OPTIMIZED. For more information, check STORAGESERIALIZATIONPOLICY docs.
    SuspendTaskAfterNumFailures int
    How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, check SUSPENDTASKAFTERNUMFAILURES docs.
    TaskAutoRetryAttempts int
    Maximum automatic retries allowed for a user task. For more information, check TASKAUTORETRY_ATTEMPTS docs.
    TraceLevel string
    Controls how trace events are ingested into the event table. Valid values are (case-insensitive): ALWAYS | ON_EVENT | PROPAGATE | OFF. For more information, check TRACE_LEVEL docs.
    UserTaskManagedInitialWarehouseSize string
    The initial size of warehouse to use for managed warehouses in the absence of history. Valid values are (case-insensitive): XSMALL | SMALL | MEDIUM | LARGE | XLARGE | XXLARGE | XXXLARGE | X4LARGE | X5LARGE | X6LARGE. For more information, check USERTASKMANAGEDINITIALWAREHOUSE_SIZE docs.
    UserTaskMinimumTriggerIntervalInSeconds int
    Minimum amount of time between Triggered Task executions in seconds. For more information, check USERTASKMINIMUMTRIGGERINTERVALINSECONDS docs.
    UserTaskTimeoutMs int
    User task execution timeout in milliseconds. For more information, check USERTASKTIMEOUT_MS docs.
    Catalog string
    The parameter that specifies the default catalog to use for Iceberg tables. For more information, check CATALOG docs.
    Comment string
    Specifies a comment for the database.
    DefaultDdlCollation string
    Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see collation specification. For more information, check DEFAULTDDLCOLLATION docs.
    DefaultNotebookComputePoolCpu string
    Sets the preferred CPU compute pool used for Notebooks on CPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLCPU docs.
    DefaultNotebookComputePoolGpu string
    Sets the preferred GPU compute pool used for Notebooks on GPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLGPU docs.
    EnableConsoleOutput bool
    If true, enables stdout/stderr fast path logging for anonymous stored procedures. For more information, check ENABLECONSOLEOUTPUT docs.
    ExternalVolume string
    The parameter that specifies the default external volume to use for Iceberg tables. For more information, check EXTERNAL_VOLUME docs.
    FromShare string
    A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of "<organization_name>"."<account_name>"."<share_name>". For more information about this resource, see docs.
    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    LogEventLevel string
    Specifies the severity level of log events (rows with record type EVENT) that should be ingested and made available in the active event table. Log events at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOGEVENTLEVEL docs.
    LogLevel string
    Specifies the severity level of messages that should be ingested and made available in the active event table. Messages at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOG_LEVEL docs.
    Name string
    Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    QuotedIdentifiersIgnoreCase bool
    If true, the case of quoted identifiers is ignored. For more information, check QUOTEDIDENTIFIERSIGNORE_CASE docs.
    ReplaceInvalidCharacters bool
    Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, check REPLACEINVALIDCHARACTERS docs.
    StorageSerializationPolicy string
    The storage serialization policy for Iceberg tables that use Snowflake as the catalog. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. Valid values are (case-insensitive): COMPATIBLE | OPTIMIZED. For more information, check STORAGESERIALIZATIONPOLICY docs.
    SuspendTaskAfterNumFailures int
    How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, check SUSPENDTASKAFTERNUMFAILURES docs.
    TaskAutoRetryAttempts int
    Maximum automatic retries allowed for a user task. For more information, check TASKAUTORETRY_ATTEMPTS docs.
    TraceLevel string
    Controls how trace events are ingested into the event table. Valid values are (case-insensitive): ALWAYS | ON_EVENT | PROPAGATE | OFF. For more information, check TRACE_LEVEL docs.
    UserTaskManagedInitialWarehouseSize string
    The initial size of warehouse to use for managed warehouses in the absence of history. Valid values are (case-insensitive): XSMALL | SMALL | MEDIUM | LARGE | XLARGE | XXLARGE | XXXLARGE | X4LARGE | X5LARGE | X6LARGE. For more information, check USERTASKMANAGEDINITIALWAREHOUSE_SIZE docs.
    UserTaskMinimumTriggerIntervalInSeconds int
    Minimum amount of time between Triggered Task executions in seconds. For more information, check USERTASKMINIMUMTRIGGERINTERVALINSECONDS docs.
    UserTaskTimeoutMs int
    User task execution timeout in milliseconds. For more information, check USERTASKTIMEOUT_MS docs.
    catalog string
    The parameter that specifies the default catalog to use for Iceberg tables. For more information, check CATALOG docs.
    comment string
    Specifies a comment for the database.
    default_ddl_collation string
    Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see collation specification. For more information, check DEFAULTDDLCOLLATION docs.
    default_notebook_compute_pool_cpu string
    Sets the preferred CPU compute pool used for Notebooks on CPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLCPU docs.
    default_notebook_compute_pool_gpu string
    Sets the preferred GPU compute pool used for Notebooks on GPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLGPU docs.
    enable_console_output bool
    If true, enables stdout/stderr fast path logging for anonymous stored procedures. For more information, check ENABLECONSOLEOUTPUT docs.
    external_volume string
    The parameter that specifies the default external volume to use for Iceberg tables. For more information, check EXTERNAL_VOLUME docs.
    from_share string
    A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of "<organization_name>"."<account_name>"."<share_name>". For more information about this resource, see docs.
    fully_qualified_name string
    Fully qualified name of the resource. For more information, see object name resolution.
    log_event_level string
    Specifies the severity level of log events (rows with record type EVENT) that should be ingested and made available in the active event table. Log events at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOGEVENTLEVEL docs.
    log_level string
    Specifies the severity level of messages that should be ingested and made available in the active event table. Messages at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOG_LEVEL docs.
    name string
    Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    quoted_identifiers_ignore_case bool
    If true, the case of quoted identifiers is ignored. For more information, check QUOTEDIDENTIFIERSIGNORE_CASE docs.
    replace_invalid_characters bool
    Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, check REPLACEINVALIDCHARACTERS docs.
    storage_serialization_policy string
    The storage serialization policy for Iceberg tables that use Snowflake as the catalog. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. Valid values are (case-insensitive): COMPATIBLE | OPTIMIZED. For more information, check STORAGESERIALIZATIONPOLICY docs.
    suspend_task_after_num_failures number
    How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, check SUSPENDTASKAFTERNUMFAILURES docs.
    task_auto_retry_attempts number
    Maximum automatic retries allowed for a user task. For more information, check TASKAUTORETRY_ATTEMPTS docs.
    trace_level string
    Controls how trace events are ingested into the event table. Valid values are (case-insensitive): ALWAYS | ON_EVENT | PROPAGATE | OFF. For more information, check TRACE_LEVEL docs.
    user_task_managed_initial_warehouse_size string
    The initial size of warehouse to use for managed warehouses in the absence of history. Valid values are (case-insensitive): XSMALL | SMALL | MEDIUM | LARGE | XLARGE | XXLARGE | XXXLARGE | X4LARGE | X5LARGE | X6LARGE. For more information, check USERTASKMANAGEDINITIALWAREHOUSE_SIZE docs.
    user_task_minimum_trigger_interval_in_seconds number
    Minimum amount of time between Triggered Task executions in seconds. For more information, check USERTASKMINIMUMTRIGGERINTERVALINSECONDS docs.
    user_task_timeout_ms number
    User task execution timeout in milliseconds. For more information, check USERTASKTIMEOUT_MS docs.
    catalog String
    The parameter that specifies the default catalog to use for Iceberg tables. For more information, check CATALOG docs.
    comment String
    Specifies a comment for the database.
    defaultDdlCollation String
    Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see collation specification. For more information, check DEFAULTDDLCOLLATION docs.
    defaultNotebookComputePoolCpu String
    Sets the preferred CPU compute pool used for Notebooks on CPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLCPU docs.
    defaultNotebookComputePoolGpu String
    Sets the preferred GPU compute pool used for Notebooks on GPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLGPU docs.
    enableConsoleOutput Boolean
    If true, enables stdout/stderr fast path logging for anonymous stored procedures. For more information, check ENABLECONSOLEOUTPUT docs.
    externalVolume String
    The parameter that specifies the default external volume to use for Iceberg tables. For more information, check EXTERNAL_VOLUME docs.
    fromShare String
    A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of "<organization_name>"."<account_name>"."<share_name>". For more information about this resource, see docs.
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    logEventLevel String
    Specifies the severity level of log events (rows with record type EVENT) that should be ingested and made available in the active event table. Log events at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOGEVENTLEVEL docs.
    logLevel String
    Specifies the severity level of messages that should be ingested and made available in the active event table. Messages at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOG_LEVEL docs.
    name String
    Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    quotedIdentifiersIgnoreCase Boolean
    If true, the case of quoted identifiers is ignored. For more information, check QUOTEDIDENTIFIERSIGNORE_CASE docs.
    replaceInvalidCharacters Boolean
    Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, check REPLACEINVALIDCHARACTERS docs.
    storageSerializationPolicy String
    The storage serialization policy for Iceberg tables that use Snowflake as the catalog. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. Valid values are (case-insensitive): COMPATIBLE | OPTIMIZED. For more information, check STORAGESERIALIZATIONPOLICY docs.
    suspendTaskAfterNumFailures Integer
    How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, check SUSPENDTASKAFTERNUMFAILURES docs.
    taskAutoRetryAttempts Integer
    Maximum automatic retries allowed for a user task. For more information, check TASKAUTORETRY_ATTEMPTS docs.
    traceLevel String
    Controls how trace events are ingested into the event table. Valid values are (case-insensitive): ALWAYS | ON_EVENT | PROPAGATE | OFF. For more information, check TRACE_LEVEL docs.
    userTaskManagedInitialWarehouseSize String
    The initial size of warehouse to use for managed warehouses in the absence of history. Valid values are (case-insensitive): XSMALL | SMALL | MEDIUM | LARGE | XLARGE | XXLARGE | XXXLARGE | X4LARGE | X5LARGE | X6LARGE. For more information, check USERTASKMANAGEDINITIALWAREHOUSE_SIZE docs.
    userTaskMinimumTriggerIntervalInSeconds Integer
    Minimum amount of time between Triggered Task executions in seconds. For more information, check USERTASKMINIMUMTRIGGERINTERVALINSECONDS docs.
    userTaskTimeoutMs Integer
    User task execution timeout in milliseconds. For more information, check USERTASKTIMEOUT_MS docs.
    catalog string
    The parameter that specifies the default catalog to use for Iceberg tables. For more information, check CATALOG docs.
    comment string
    Specifies a comment for the database.
    defaultDdlCollation string
    Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see collation specification. For more information, check DEFAULTDDLCOLLATION docs.
    defaultNotebookComputePoolCpu string
    Sets the preferred CPU compute pool used for Notebooks on CPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLCPU docs.
    defaultNotebookComputePoolGpu string
    Sets the preferred GPU compute pool used for Notebooks on GPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLGPU docs.
    enableConsoleOutput boolean
    If true, enables stdout/stderr fast path logging for anonymous stored procedures. For more information, check ENABLECONSOLEOUTPUT docs.
    externalVolume string
    The parameter that specifies the default external volume to use for Iceberg tables. For more information, check EXTERNAL_VOLUME docs.
    fromShare string
    A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of "<organization_name>"."<account_name>"."<share_name>". For more information about this resource, see docs.
    fullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    logEventLevel string
    Specifies the severity level of log events (rows with record type EVENT) that should be ingested and made available in the active event table. Log events at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOGEVENTLEVEL docs.
    logLevel string
    Specifies the severity level of messages that should be ingested and made available in the active event table. Messages at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOG_LEVEL docs.
    name string
    Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    quotedIdentifiersIgnoreCase boolean
    If true, the case of quoted identifiers is ignored. For more information, check QUOTEDIDENTIFIERSIGNORE_CASE docs.
    replaceInvalidCharacters boolean
    Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, check REPLACEINVALIDCHARACTERS docs.
    storageSerializationPolicy string
    The storage serialization policy for Iceberg tables that use Snowflake as the catalog. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. Valid values are (case-insensitive): COMPATIBLE | OPTIMIZED. For more information, check STORAGESERIALIZATIONPOLICY docs.
    suspendTaskAfterNumFailures number
    How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, check SUSPENDTASKAFTERNUMFAILURES docs.
    taskAutoRetryAttempts number
    Maximum automatic retries allowed for a user task. For more information, check TASKAUTORETRY_ATTEMPTS docs.
    traceLevel string
    Controls how trace events are ingested into the event table. Valid values are (case-insensitive): ALWAYS | ON_EVENT | PROPAGATE | OFF. For more information, check TRACE_LEVEL docs.
    userTaskManagedInitialWarehouseSize string
    The initial size of warehouse to use for managed warehouses in the absence of history. Valid values are (case-insensitive): XSMALL | SMALL | MEDIUM | LARGE | XLARGE | XXLARGE | XXXLARGE | X4LARGE | X5LARGE | X6LARGE. For more information, check USERTASKMANAGEDINITIALWAREHOUSE_SIZE docs.
    userTaskMinimumTriggerIntervalInSeconds number
    Minimum amount of time between Triggered Task executions in seconds. For more information, check USERTASKMINIMUMTRIGGERINTERVALINSECONDS docs.
    userTaskTimeoutMs number
    User task execution timeout in milliseconds. For more information, check USERTASKTIMEOUT_MS docs.
    catalog str
    The parameter that specifies the default catalog to use for Iceberg tables. For more information, check CATALOG docs.
    comment str
    Specifies a comment for the database.
    default_ddl_collation str
    Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see collation specification. For more information, check DEFAULTDDLCOLLATION docs.
    default_notebook_compute_pool_cpu str
    Sets the preferred CPU compute pool used for Notebooks on CPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLCPU docs.
    default_notebook_compute_pool_gpu str
    Sets the preferred GPU compute pool used for Notebooks on GPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLGPU docs.
    enable_console_output bool
    If true, enables stdout/stderr fast path logging for anonymous stored procedures. For more information, check ENABLECONSOLEOUTPUT docs.
    external_volume str
    The parameter that specifies the default external volume to use for Iceberg tables. For more information, check EXTERNAL_VOLUME docs.
    from_share str
    A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of "<organization_name>"."<account_name>"."<share_name>". For more information about this resource, see docs.
    fully_qualified_name str
    Fully qualified name of the resource. For more information, see object name resolution.
    log_event_level str
    Specifies the severity level of log events (rows with record type EVENT) that should be ingested and made available in the active event table. Log events at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOGEVENTLEVEL docs.
    log_level str
    Specifies the severity level of messages that should be ingested and made available in the active event table. Messages at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOG_LEVEL docs.
    name str
    Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    quoted_identifiers_ignore_case bool
    If true, the case of quoted identifiers is ignored. For more information, check QUOTEDIDENTIFIERSIGNORE_CASE docs.
    replace_invalid_characters bool
    Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, check REPLACEINVALIDCHARACTERS docs.
    storage_serialization_policy str
    The storage serialization policy for Iceberg tables that use Snowflake as the catalog. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. Valid values are (case-insensitive): COMPATIBLE | OPTIMIZED. For more information, check STORAGESERIALIZATIONPOLICY docs.
    suspend_task_after_num_failures int
    How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, check SUSPENDTASKAFTERNUMFAILURES docs.
    task_auto_retry_attempts int
    Maximum automatic retries allowed for a user task. For more information, check TASKAUTORETRY_ATTEMPTS docs.
    trace_level str
    Controls how trace events are ingested into the event table. Valid values are (case-insensitive): ALWAYS | ON_EVENT | PROPAGATE | OFF. For more information, check TRACE_LEVEL docs.
    user_task_managed_initial_warehouse_size str
    The initial size of warehouse to use for managed warehouses in the absence of history. Valid values are (case-insensitive): XSMALL | SMALL | MEDIUM | LARGE | XLARGE | XXLARGE | XXXLARGE | X4LARGE | X5LARGE | X6LARGE. For more information, check USERTASKMANAGEDINITIALWAREHOUSE_SIZE docs.
    user_task_minimum_trigger_interval_in_seconds int
    Minimum amount of time between Triggered Task executions in seconds. For more information, check USERTASKMINIMUMTRIGGERINTERVALINSECONDS docs.
    user_task_timeout_ms int
    User task execution timeout in milliseconds. For more information, check USERTASKTIMEOUT_MS docs.
    catalog String
    The parameter that specifies the default catalog to use for Iceberg tables. For more information, check CATALOG docs.
    comment String
    Specifies a comment for the database.
    defaultDdlCollation String
    Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see collation specification. For more information, check DEFAULTDDLCOLLATION docs.
    defaultNotebookComputePoolCpu String
    Sets the preferred CPU compute pool used for Notebooks on CPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLCPU docs.
    defaultNotebookComputePoolGpu String
    Sets the preferred GPU compute pool used for Notebooks on GPU Container Runtime. For more information, check DEFAULTNOTEBOOKCOMPUTEPOOLGPU docs.
    enableConsoleOutput Boolean
    If true, enables stdout/stderr fast path logging for anonymous stored procedures. For more information, check ENABLECONSOLEOUTPUT docs.
    externalVolume String
    The parameter that specifies the default external volume to use for Iceberg tables. For more information, check EXTERNAL_VOLUME docs.
    fromShare String
    A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of "<organization_name>"."<account_name>"."<share_name>". For more information about this resource, see docs.
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    logEventLevel String
    Specifies the severity level of log events (rows with record type EVENT) that should be ingested and made available in the active event table. Log events at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOGEVENTLEVEL docs.
    logLevel String
    Specifies the severity level of messages that should be ingested and made available in the active event table. Messages at the specified level (and at more severe levels) are ingested. Valid values are (case-insensitive): TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. For more information, check LOG_LEVEL docs.
    name String
    Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    quotedIdentifiersIgnoreCase Boolean
    If true, the case of quoted identifiers is ignored. For more information, check QUOTEDIDENTIFIERSIGNORE_CASE docs.
    replaceInvalidCharacters Boolean
    Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, check REPLACEINVALIDCHARACTERS docs.
    storageSerializationPolicy String
    The storage serialization policy for Iceberg tables that use Snowflake as the catalog. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. Valid values are (case-insensitive): COMPATIBLE | OPTIMIZED. For more information, check STORAGESERIALIZATIONPOLICY docs.
    suspendTaskAfterNumFailures Number
    How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, check SUSPENDTASKAFTERNUMFAILURES docs.
    taskAutoRetryAttempts Number
    Maximum automatic retries allowed for a user task. For more information, check TASKAUTORETRY_ATTEMPTS docs.
    traceLevel String
    Controls how trace events are ingested into the event table. Valid values are (case-insensitive): ALWAYS | ON_EVENT | PROPAGATE | OFF. For more information, check TRACE_LEVEL docs.
    userTaskManagedInitialWarehouseSize String
    The initial size of warehouse to use for managed warehouses in the absence of history. Valid values are (case-insensitive): XSMALL | SMALL | MEDIUM | LARGE | XLARGE | XXLARGE | XXXLARGE | X4LARGE | X5LARGE | X6LARGE. For more information, check USERTASKMANAGEDINITIALWAREHOUSE_SIZE docs.
    userTaskMinimumTriggerIntervalInSeconds Number
    Minimum amount of time between Triggered Task executions in seconds. For more information, check USERTASKMINIMUMTRIGGERINTERVALINSECONDS docs.
    userTaskTimeoutMs Number
    User task execution timeout in milliseconds. For more information, check USERTASKTIMEOUT_MS docs.

    Import

    $ pulumi import snowflake:index/sharedDatabase:SharedDatabase example '"<shared_database_name>"'
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Snowflake pulumi/pulumi-snowflake
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the snowflake Terraform Provider.
    snowflake logo
    Viewing docs for Snowflake v2.23.0
    published on Friday, Nov 6, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial