published on Friday, Nov 6, 2026 by Pulumi
published on Friday, Nov 6, 2026 by Pulumi
Caution: Preview Feature This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to
previewFeaturesEnabledfield in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
Resource used to manage code bundles. For more information, check code bundle documentation.
Example Usage
Note Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.
import * as pulumi from "@pulumi/pulumi";
import * as snowflake from "@pulumi/snowflake";
//# Minimal
// from is ForceNew. It is a snow://workspace/... URL, or an internal or temporary stage reference.
const basic = new snowflake.CodeBundle("basic", {
database: "database_name",
schema: "schema_name",
name: "code_bundle_name",
from: `@${example.fullyQualifiedName}`,
});
//# Complete
const complete = new snowflake.CodeBundle("complete", {
database: "database_name",
schema: "schema_name",
name: "code_bundle_name",
from: `@${example.fullyQualifiedName}`,
comment: "My code bundle",
});
import pulumi
import pulumi_snowflake as snowflake
## Minimal
# from is ForceNew. It is a snow://workspace/... URL, or an internal or temporary stage reference.
basic = snowflake.CodeBundle("basic",
database="database_name",
schema="schema_name",
name="code_bundle_name",
from_=f"@{example['fullyQualifiedName']}")
## Complete
complete = snowflake.CodeBundle("complete",
database="database_name",
schema="schema_name",
name="code_bundle_name",
from_=f"@{example['fullyQualifiedName']}",
comment="My code bundle")
package main
import (
"github.com/pulumi/pulumi-snowflake/sdk/v2/go/snowflake"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
//# Minimal
// from is ForceNew. It is a snow://workspace/... URL, or an internal or temporary stage reference.
_, err := snowflake.NewCodeBundle(ctx, "basic", &snowflake.CodeBundleArgs{
Database: pulumi.String("database_name"),
Schema: pulumi.String("schema_name"),
Name: pulumi.String("code_bundle_name"),
From: pulumi.Sprintf("@%v", example.FullyQualifiedName),
})
if err != nil {
return err
}
//# Complete
_, err = snowflake.NewCodeBundle(ctx, "complete", &snowflake.CodeBundleArgs{
Database: pulumi.String("database_name"),
Schema: pulumi.String("schema_name"),
Name: pulumi.String("code_bundle_name"),
From: pulumi.Sprintf("@%v", example.FullyQualifiedName),
Comment: pulumi.String("My code bundle"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Snowflake = Pulumi.Snowflake;
return await Deployment.RunAsync(() =>
{
//# Minimal
// from is ForceNew. It is a snow://workspace/... URL, or an internal or temporary stage reference.
var basic = new Snowflake.CodeBundle("basic", new()
{
Database = "database_name",
Schema = "schema_name",
Name = "code_bundle_name",
From = $"@{example.FullyQualifiedName}",
});
//# Complete
var complete = new Snowflake.CodeBundle("complete", new()
{
Database = "database_name",
Schema = "schema_name",
Name = "code_bundle_name",
From = $"@{example.FullyQualifiedName}",
Comment = "My code bundle",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.snowflake.CodeBundle;
import com.pulumi.snowflake.CodeBundleArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
//# Minimal
// from is ForceNew. It is a snow://workspace/... URL, or an internal or temporary stage reference.
var basic = new CodeBundle("basic", CodeBundleArgs.builder()
.database("database_name")
.schema("schema_name")
.name("code_bundle_name")
.from(String.format("@%s", example.get("fullyQualifiedName")))
.build());
//# Complete
var complete = new CodeBundle("complete", CodeBundleArgs.builder()
.database("database_name")
.schema("schema_name")
.name("code_bundle_name")
.from(String.format("@%s", example.get("fullyQualifiedName")))
.comment("My code bundle")
.build());
}
}
resources:
## Minimal
# from is ForceNew. It is a snow://workspace/... URL, or an internal or temporary stage reference.
basic:
type: snowflake:CodeBundle
properties:
database: database_name
schema: schema_name
name: code_bundle_name
from: '@${example.fullyQualifiedName}'
## Complete
complete:
type: snowflake:CodeBundle
properties:
database: database_name
schema: schema_name
name: code_bundle_name
from: '@${example.fullyQualifiedName}'
comment: My code bundle
terraform {
required_providers {
snowflake = {
source = "pulumi/snowflake"
}
}
}
## Minimal
# from is ForceNew. It is a snow://workspace/... URL, or an internal or temporary stage reference.
resource "snowflake_code_bundle" "basic" {
lifecycle {
create_before_destroy = true
}
database = "database_name"
schema = "schema_name"
name = "code_bundle_name"
from ="@${example.fullyQualifiedName}"
}
## Complete
resource "snowflake_code_bundle" "complete" {
lifecycle {
create_before_destroy = true
}
database = "database_name"
schema = "schema_name"
name = "code_bundle_name"
from ="@${example.fullyQualifiedName}"
comment = "My code bundle"
}
Note If a field has a default value, it is shown next to the type in the schema.
Create CodeBundle Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CodeBundle(name: string, args: CodeBundleArgs, opts?: CustomResourceOptions);@overload
def CodeBundle(resource_name: str,
args: CodeBundleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CodeBundle(resource_name: str,
opts: Optional[ResourceOptions] = None,
database: Optional[str] = None,
from_: Optional[str] = None,
schema: Optional[str] = None,
comment: Optional[str] = None,
name: Optional[str] = None)func NewCodeBundle(ctx *Context, name string, args CodeBundleArgs, opts ...ResourceOption) (*CodeBundle, error)public CodeBundle(string name, CodeBundleArgs args, CustomResourceOptions? opts = null)
public CodeBundle(String name, CodeBundleArgs args)
public CodeBundle(String name, CodeBundleArgs args, CustomResourceOptions options)
type: snowflake:CodeBundle
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "snowflake_code_bundle" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args CodeBundleArgs
- 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 CodeBundleArgs
- 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 CodeBundleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CodeBundleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CodeBundleArgs
- 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 codeBundleResource = new Snowflake.CodeBundle("codeBundleResource", new()
{
Database = "string",
From = "string",
Schema = "string",
Comment = "string",
Name = "string",
});
example, err := snowflake.NewCodeBundle(ctx, "codeBundleResource", &snowflake.CodeBundleArgs{
Database: pulumi.String("string"),
From: pulumi.String("string"),
Schema: pulumi.String("string"),
Comment: pulumi.String("string"),
Name: pulumi.String("string"),
})
resource "snowflake_code_bundle" "codeBundleResource" {
lifecycle {
create_before_destroy = true
}
database = "string"
from = "string"
schema = "string"
comment = "string"
name = "string"
}
var codeBundleResource = new CodeBundle("codeBundleResource", CodeBundleArgs.builder()
.database("string")
.from("string")
.schema("string")
.comment("string")
.name("string")
.build());
code_bundle_resource = snowflake.CodeBundle("codeBundleResource",
database="string",
from_="string",
schema="string",
comment="string",
name="string")
const codeBundleResource = new snowflake.CodeBundle("codeBundleResource", {
database: "string",
from: "string",
schema: "string",
comment: "string",
name: "string",
});
type: snowflake:CodeBundle
properties:
comment: string
database: string
from: string
name: string
schema: string
CodeBundle 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 CodeBundle resource accepts the following input properties:
- Database string
- The database in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - From string
- Specifies the source that backs this code bundle: a snow://workspace/... URL, or an internal or temporary stage reference. External stages are not supported.
- Schema string
- The schema in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - Comment string
- Specifies a comment for the code bundle.
- Name string
- Specifies the identifier for the code bundle; must be unique for the schema in which the code bundle is created. Due to technical limitations (read more here), avoid using the following characters:
|,.,".
- Database string
- The database in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - From string
- Specifies the source that backs this code bundle: a snow://workspace/... URL, or an internal or temporary stage reference. External stages are not supported.
- Schema string
- The schema in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - Comment string
- Specifies a comment for the code bundle.
- Name string
- Specifies the identifier for the code bundle; must be unique for the schema in which the code bundle is created. Due to technical limitations (read more here), avoid using the following characters:
|,.,".
- database string
- The database in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - from string
- Specifies the source that backs this code bundle: a snow://workspace/... URL, or an internal or temporary stage reference. External stages are not supported.
- schema string
- The schema in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - comment string
- Specifies a comment for the code bundle.
- name string
- Specifies the identifier for the code bundle; must be unique for the schema in which the code bundle is created. Due to technical limitations (read more here), avoid using the following characters:
|,.,".
- database String
- The database in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - from String
- Specifies the source that backs this code bundle: a snow://workspace/... URL, or an internal or temporary stage reference. External stages are not supported.
- schema String
- The schema in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - comment String
- Specifies a comment for the code bundle.
- name String
- Specifies the identifier for the code bundle; must be unique for the schema in which the code bundle is created. Due to technical limitations (read more here), avoid using the following characters:
|,.,".
- database string
- The database in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - from string
- Specifies the source that backs this code bundle: a snow://workspace/... URL, or an internal or temporary stage reference. External stages are not supported.
- schema string
- The schema in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - comment string
- Specifies a comment for the code bundle.
- name string
- Specifies the identifier for the code bundle; must be unique for the schema in which the code bundle is created. Due to technical limitations (read more here), avoid using the following characters:
|,.,".
- database str
- The database in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - from_ str
- Specifies the source that backs this code bundle: a snow://workspace/... URL, or an internal or temporary stage reference. External stages are not supported.
- schema str
- The schema in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - comment str
- Specifies a comment for the code bundle.
- name str
- Specifies the identifier for the code bundle; must be unique for the schema in which the code bundle is created. Due to technical limitations (read more here), avoid using the following characters:
|,.,".
- database String
- The database in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - from String
- Specifies the source that backs this code bundle: a snow://workspace/... URL, or an internal or temporary stage reference. External stages are not supported.
- schema String
- The schema in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - comment String
- Specifies a comment for the code bundle.
- name String
- Specifies the identifier for the code bundle; must be unique for the schema in which the code bundle is created. Due to technical limitations (read more here), avoid using the following characters:
|,.,".
Outputs
All input properties are implicitly available as output properties. Additionally, the CodeBundle resource produces the following output properties:
- Describe
Outputs List<CodeBundle Describe Output> - Outputs the result of
DESCRIBE CODE BUNDLEfor the given code bundle. - Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Id string
- The provider-assigned unique ID for this managed resource.
- Show
Outputs List<CodeBundle Show Output> - Outputs the result of
SHOW CODE BUNDLESfor the given code bundle.
- Describe
Outputs []CodeBundle Describe Output - Outputs the result of
DESCRIBE CODE BUNDLEfor the given code bundle. - Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Id string
- The provider-assigned unique ID for this managed resource.
- Show
Outputs []CodeBundle Show Output - Outputs the result of
SHOW CODE BUNDLESfor the given code bundle.
- describe_
outputs list(object) - Outputs the result of
DESCRIBE CODE BUNDLEfor the given code bundle. - fully_
qualified_ stringname - Fully qualified name of the resource. For more information, see object name resolution.
- id string
- The provider-assigned unique ID for this managed resource.
- show_
outputs list(object) - Outputs the result of
SHOW CODE BUNDLESfor the given code bundle.
- describe
Outputs List<CodeBundle Describe Output> - Outputs the result of
DESCRIBE CODE BUNDLEfor the given code bundle. - fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- id String
- The provider-assigned unique ID for this managed resource.
- show
Outputs List<CodeBundle Show Output> - Outputs the result of
SHOW CODE BUNDLESfor the given code bundle.
- describe
Outputs CodeBundle Describe Output[] - Outputs the result of
DESCRIBE CODE BUNDLEfor the given code bundle. - fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- id string
- The provider-assigned unique ID for this managed resource.
- show
Outputs CodeBundle Show Output[] - Outputs the result of
SHOW CODE BUNDLESfor the given code bundle.
- describe_
outputs Sequence[CodeBundle Describe Output] - Outputs the result of
DESCRIBE CODE BUNDLEfor the given code bundle. - fully_
qualified_ strname - Fully qualified name of the resource. For more information, see object name resolution.
- id str
- The provider-assigned unique ID for this managed resource.
- show_
outputs Sequence[CodeBundle Show Output] - Outputs the result of
SHOW CODE BUNDLESfor the given code bundle.
- describe
Outputs List<Property Map> - Outputs the result of
DESCRIBE CODE BUNDLEfor the given code bundle. - fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- id String
- The provider-assigned unique ID for this managed resource.
- show
Outputs List<Property Map> - Outputs the result of
SHOW CODE BUNDLESfor the given code bundle.
Look up Existing CodeBundle Resource
Get an existing CodeBundle 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?: CodeBundleState, opts?: CustomResourceOptions): CodeBundle@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
comment: Optional[str] = None,
database: Optional[str] = None,
describe_outputs: Optional[Sequence[CodeBundleDescribeOutputArgs]] = None,
from_: Optional[str] = None,
fully_qualified_name: Optional[str] = None,
name: Optional[str] = None,
schema: Optional[str] = None,
show_outputs: Optional[Sequence[CodeBundleShowOutputArgs]] = None) -> CodeBundlefunc GetCodeBundle(ctx *Context, name string, id IDInput, state *CodeBundleState, opts ...ResourceOption) (*CodeBundle, error)public static CodeBundle Get(string name, Input<string> id, CodeBundleState? state, CustomResourceOptions? opts = null)public static CodeBundle get(String name, Output<String> id, CodeBundleState state, CustomResourceOptions options)resources: _: type: snowflake:CodeBundle get: id: ${id}import {
to = snowflake_code_bundle.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.
- Comment string
- Specifies a comment for the code bundle.
- Database string
- The database in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - Describe
Outputs List<CodeBundle Describe Output> - Outputs the result of
DESCRIBE CODE BUNDLEfor the given code bundle. - From string
- Specifies the source that backs this code bundle: a snow://workspace/... URL, or an internal or temporary stage reference. External stages are not supported.
- Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Name string
- Specifies the identifier for the code bundle; must be unique for the schema in which the code bundle is created. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - Schema string
- The schema in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - Show
Outputs List<CodeBundle Show Output> - Outputs the result of
SHOW CODE BUNDLESfor the given code bundle.
- Comment string
- Specifies a comment for the code bundle.
- Database string
- The database in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - Describe
Outputs []CodeBundle Describe Output Args - Outputs the result of
DESCRIBE CODE BUNDLEfor the given code bundle. - From string
- Specifies the source that backs this code bundle: a snow://workspace/... URL, or an internal or temporary stage reference. External stages are not supported.
- Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Name string
- Specifies the identifier for the code bundle; must be unique for the schema in which the code bundle is created. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - Schema string
- The schema in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - Show
Outputs []CodeBundle Show Output Args - Outputs the result of
SHOW CODE BUNDLESfor the given code bundle.
- comment string
- Specifies a comment for the code bundle.
- database string
- The database in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - describe_
outputs list(object) - Outputs the result of
DESCRIBE CODE BUNDLEfor the given code bundle. - from string
- Specifies the source that backs this code bundle: a snow://workspace/... URL, or an internal or temporary stage reference. External stages are not supported.
- fully_
qualified_ stringname - Fully qualified name of the resource. For more information, see object name resolution.
- name string
- Specifies the identifier for the code bundle; must be unique for the schema in which the code bundle is created. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - schema string
- The schema in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - show_
outputs list(object) - Outputs the result of
SHOW CODE BUNDLESfor the given code bundle.
- comment String
- Specifies a comment for the code bundle.
- database String
- The database in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - describe
Outputs List<CodeBundle Describe Output> - Outputs the result of
DESCRIBE CODE BUNDLEfor the given code bundle. - from String
- Specifies the source that backs this code bundle: a snow://workspace/... URL, or an internal or temporary stage reference. External stages are not supported.
- fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- name String
- Specifies the identifier for the code bundle; must be unique for the schema in which the code bundle is created. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - schema String
- The schema in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - show
Outputs List<CodeBundle Show Output> - Outputs the result of
SHOW CODE BUNDLESfor the given code bundle.
- comment string
- Specifies a comment for the code bundle.
- database string
- The database in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - describe
Outputs CodeBundle Describe Output[] - Outputs the result of
DESCRIBE CODE BUNDLEfor the given code bundle. - from string
- Specifies the source that backs this code bundle: a snow://workspace/... URL, or an internal or temporary stage reference. External stages are not supported.
- fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- name string
- Specifies the identifier for the code bundle; must be unique for the schema in which the code bundle is created. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - schema string
- The schema in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - show
Outputs CodeBundle Show Output[] - Outputs the result of
SHOW CODE BUNDLESfor the given code bundle.
- comment str
- Specifies a comment for the code bundle.
- database str
- The database in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - describe_
outputs Sequence[CodeBundle Describe Output Args] - Outputs the result of
DESCRIBE CODE BUNDLEfor the given code bundle. - from_ str
- Specifies the source that backs this code bundle: a snow://workspace/... URL, or an internal or temporary stage reference. External stages are not supported.
- fully_
qualified_ strname - Fully qualified name of the resource. For more information, see object name resolution.
- name str
- Specifies the identifier for the code bundle; must be unique for the schema in which the code bundle is created. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - schema str
- The schema in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - show_
outputs Sequence[CodeBundle Show Output Args] - Outputs the result of
SHOW CODE BUNDLESfor the given code bundle.
- comment String
- Specifies a comment for the code bundle.
- database String
- The database in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - describe
Outputs List<Property Map> - Outputs the result of
DESCRIBE CODE BUNDLEfor the given code bundle. - from String
- Specifies the source that backs this code bundle: a snow://workspace/... URL, or an internal or temporary stage reference. External stages are not supported.
- fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- name String
- Specifies the identifier for the code bundle; must be unique for the schema in which the code bundle is created. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - schema String
- The schema in which to create the code bundle. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - show
Outputs List<Property Map> - Outputs the result of
SHOW CODE BUNDLESfor the given code bundle.
Supporting Types
CodeBundleDescribeOutput, CodeBundleDescribeOutputArgs
- Comment string
- Container
Database string - Container
Name string - Container
Schema string - Container
Type string - Created
On string - Default
Version string - Default
Version stringAlias - Default
Version stringGit Commit Hash - Default
Version stringLocation Uri - Default
Version stringName - Default
Version stringSource Location Uri - Last
Version stringAlias - Last
Version stringGit Commit Hash - Last
Version stringLocation Uri - Last
Version stringName - Last
Version stringSource Location Uri - Live
Version stringLocation Uri - Name string
- Owner
Role string - Owner
Role stringType
- Comment string
- Container
Database string - Container
Name string - Container
Schema string - Container
Type string - Created
On string - Default
Version string - Default
Version stringAlias - Default
Version stringGit Commit Hash - Default
Version stringLocation Uri - Default
Version stringName - Default
Version stringSource Location Uri - Last
Version stringAlias - Last
Version stringGit Commit Hash - Last
Version stringLocation Uri - Last
Version stringName - Last
Version stringSource Location Uri - Live
Version stringLocation Uri - Name string
- Owner
Role string - Owner
Role stringType
- comment string
- container_
database string - container_
name string - container_
schema string - container_
type string - created_
on string - default_
version string - default_
version_ stringalias - default_
version_ stringgit_ commit_ hash - default_
version_ stringlocation_ uri - default_
version_ stringname - default_
version_ stringsource_ location_ uri - last_
version_ stringalias - last_
version_ stringgit_ commit_ hash - last_
version_ stringlocation_ uri - last_
version_ stringname - last_
version_ stringsource_ location_ uri - live_
version_ stringlocation_ uri - name string
- owner_
role string - owner_
role_ stringtype
- comment String
- container
Database String - container
Name String - container
Schema String - container
Type String - created
On String - default
Version String - default
Version StringAlias - default
Version StringGit Commit Hash - default
Version StringLocation Uri - default
Version StringName - default
Version StringSource Location Uri - last
Version StringAlias - last
Version StringGit Commit Hash - last
Version StringLocation Uri - last
Version StringName - last
Version StringSource Location Uri - live
Version StringLocation Uri - name String
- owner
Role String - owner
Role StringType
- comment string
- container
Database string - container
Name string - container
Schema string - container
Type string - created
On string - default
Version string - default
Version stringAlias - default
Version stringGit Commit Hash - default
Version stringLocation Uri - default
Version stringName - default
Version stringSource Location Uri - last
Version stringAlias - last
Version stringGit Commit Hash - last
Version stringLocation Uri - last
Version stringName - last
Version stringSource Location Uri - live
Version stringLocation Uri - name string
- owner
Role string - owner
Role stringType
- comment str
- container_
database str - container_
name str - container_
schema str - container_
type str - created_
on str - default_
version str - default_
version_ stralias - default_
version_ strgit_ commit_ hash - default_
version_ strlocation_ uri - default_
version_ strname - default_
version_ strsource_ location_ uri - last_
version_ stralias - last_
version_ strgit_ commit_ hash - last_
version_ strlocation_ uri - last_
version_ strname - last_
version_ strsource_ location_ uri - live_
version_ strlocation_ uri - name str
- owner_
role str - owner_
role_ strtype
- comment String
- container
Database String - container
Name String - container
Schema String - container
Type String - created
On String - default
Version String - default
Version StringAlias - default
Version StringGit Commit Hash - default
Version StringLocation Uri - default
Version StringName - default
Version StringSource Location Uri - last
Version StringAlias - last
Version StringGit Commit Hash - last
Version StringLocation Uri - last
Version StringName - last
Version StringSource Location Uri - live
Version StringLocation Uri - name String
- owner
Role String - owner
Role StringType
CodeBundleShowOutput, CodeBundleShowOutputArgs
- Comment string
- Created
On string - Database
Name string - Name string
- Owner string
- Schema
Name string
- Comment string
- Created
On string - Database
Name string - Name string
- Owner string
- Schema
Name string
- comment string
- created_
on string - database_
name string - name string
- owner string
- schema_
name string
- comment String
- created
On String - database
Name String - name String
- owner String
- schema
Name String
- comment string
- created
On string - database
Name string - name string
- owner string
- schema
Name string
- comment str
- created_
on str - database_
name str - name str
- owner str
- schema_
name str
- comment String
- created
On String - database
Name String - name String
- owner String
- schema
Name String
Import
$ pulumi import snowflake:index/codeBundle:CodeBundle example '"<database_name>"."<schema_name>"."<code_bundle_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
snowflakeTerraform Provider.
published on Friday, Nov 6, 2026 by Pulumi