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.
Data source used to get details of filtered code bundles. Filtering is aligned with the current possibilities for SHOW CODE BUNDLES query. The results of SHOW and DESCRIBE are encapsulated in one output collection codeBundles.
Using getCodeBundles
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCodeBundles(args: GetCodeBundlesArgs, opts?: InvokeOptions): Promise<GetCodeBundlesResult>
function getCodeBundlesOutput(args: GetCodeBundlesOutputArgs, opts?: InvokeOutputOptions): Output<GetCodeBundlesResult>def get_code_bundles(in_: Optional[GetCodeBundlesIn] = None,
with_describe: Optional[bool] = None,
opts: Optional[InvokeOptions] = None) -> GetCodeBundlesResult
def get_code_bundles_output(in_: pulumi.Input[Optional[GetCodeBundlesInArgs]] = None,
with_describe: pulumi.Input[Optional[bool]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetCodeBundlesResult]func GetCodeBundles(ctx *Context, args *GetCodeBundlesArgs, opts ...InvokeOption) (*GetCodeBundlesResult, error)
func GetCodeBundlesOutput(ctx *Context, args *GetCodeBundlesOutputArgs, opts ...InvokeOption) GetCodeBundlesResultOutput> Note: This function is named GetCodeBundles in the Go SDK.
public static class GetCodeBundles
{
public static Task<GetCodeBundlesResult> InvokeAsync(GetCodeBundlesArgs args, InvokeOptions? opts = null)
public static Output<GetCodeBundlesResult> Invoke(GetCodeBundlesInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetCodeBundlesResult> Invoke(GetCodeBundlesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetCodeBundlesResult> getCodeBundles(GetCodeBundlesArgs args, InvokeOptions options)
public static Output<GetCodeBundlesResult> getCodeBundles(GetCodeBundlesArgs args, InvokeOptions options)
public static Output<GetCodeBundlesResult> getCodeBundles(GetCodeBundlesArgs args, InvokeOutputOptions options)
fn::invoke:
function: snowflake:index/getCodeBundles:getCodeBundles
arguments:
# arguments dictionarydata "snowflake_get_code_bundles" "name" {
# arguments
}The following arguments are supported:
- In
Get
Code Bundles In - IN clause to filter the list of objects
- With
Describe bool - (Default:
true) Runs DESC CODE BUNDLE for each code bundle returned by SHOW CODE BUNDLES. The output of describe is saved to the describeOutput field. By default this value is set to true.
- In
Get
Code Bundles In - IN clause to filter the list of objects
- With
Describe bool - (Default:
true) Runs DESC CODE BUNDLE for each code bundle returned by SHOW CODE BUNDLES. The output of describe is saved to the describeOutput field. By default this value is set to true.
- in object
- IN clause to filter the list of objects
- with_
describe bool - (Default:
true) Runs DESC CODE BUNDLE for each code bundle returned by SHOW CODE BUNDLES. The output of describe is saved to the describeOutput field. By default this value is set to true.
- in
Get
Code Bundles In - IN clause to filter the list of objects
- with
Describe Boolean - (Default:
true) Runs DESC CODE BUNDLE for each code bundle returned by SHOW CODE BUNDLES. The output of describe is saved to the describeOutput field. By default this value is set to true.
- in
Get
Code Bundles In - IN clause to filter the list of objects
- with
Describe boolean - (Default:
true) Runs DESC CODE BUNDLE for each code bundle returned by SHOW CODE BUNDLES. The output of describe is saved to the describeOutput field. By default this value is set to true.
- in_
Get
Code Bundles In - IN clause to filter the list of objects
- with_
describe bool - (Default:
true) Runs DESC CODE BUNDLE for each code bundle returned by SHOW CODE BUNDLES. The output of describe is saved to the describeOutput field. By default this value is set to true.
- in Property Map
- IN clause to filter the list of objects
- with
Describe Boolean - (Default:
true) Runs DESC CODE BUNDLE for each code bundle returned by SHOW CODE BUNDLES. The output of describe is saved to the describeOutput field. By default this value is set to true.
getCodeBundles Result
The following output properties are available:
- Code
Bundles List<GetCode Bundles Code Bundle> - Holds the aggregated output of all code bundle details queries.
- Id string
- The provider-assigned unique ID for this managed resource.
- In
Get
Code Bundles In - IN clause to filter the list of objects
- With
Describe bool - (Default:
true) Runs DESC CODE BUNDLE for each code bundle returned by SHOW CODE BUNDLES. The output of describe is saved to the describeOutput field. By default this value is set to true.
- Code
Bundles []GetCode Bundles Code Bundle - Holds the aggregated output of all code bundle details queries.
- Id string
- The provider-assigned unique ID for this managed resource.
- In
Get
Code Bundles In - IN clause to filter the list of objects
- With
Describe bool - (Default:
true) Runs DESC CODE BUNDLE for each code bundle returned by SHOW CODE BUNDLES. The output of describe is saved to the describeOutput field. By default this value is set to true.
- code_
bundles list(object) - Holds the aggregated output of all code bundle details queries.
- id string
- The provider-assigned unique ID for this managed resource.
- in object
- IN clause to filter the list of objects
- with_
describe bool - (Default:
true) Runs DESC CODE BUNDLE for each code bundle returned by SHOW CODE BUNDLES. The output of describe is saved to the describeOutput field. By default this value is set to true.
- code
Bundles List<GetCode Bundles Code Bundle> - Holds the aggregated output of all code bundle details queries.
- id String
- The provider-assigned unique ID for this managed resource.
- in
Get
Code Bundles In - IN clause to filter the list of objects
- with
Describe Boolean - (Default:
true) Runs DESC CODE BUNDLE for each code bundle returned by SHOW CODE BUNDLES. The output of describe is saved to the describeOutput field. By default this value is set to true.
- code
Bundles GetCode Bundles Code Bundle[] - Holds the aggregated output of all code bundle details queries.
- id string
- The provider-assigned unique ID for this managed resource.
- in
Get
Code Bundles In - IN clause to filter the list of objects
- with
Describe boolean - (Default:
true) Runs DESC CODE BUNDLE for each code bundle returned by SHOW CODE BUNDLES. The output of describe is saved to the describeOutput field. By default this value is set to true.
- code_
bundles Sequence[GetCode Bundles Code Bundle] - Holds the aggregated output of all code bundle details queries.
- id str
- The provider-assigned unique ID for this managed resource.
- in_
Get
Code Bundles In - IN clause to filter the list of objects
- with_
describe bool - (Default:
true) Runs DESC CODE BUNDLE for each code bundle returned by SHOW CODE BUNDLES. The output of describe is saved to the describeOutput field. By default this value is set to true.
- code
Bundles List<Property Map> - Holds the aggregated output of all code bundle details queries.
- id String
- The provider-assigned unique ID for this managed resource.
- in Property Map
- IN clause to filter the list of objects
- with
Describe Boolean - (Default:
true) Runs DESC CODE BUNDLE for each code bundle returned by SHOW CODE BUNDLES. The output of describe is saved to the describeOutput field. By default this value is set to true.
Supporting Types
GetCodeBundlesCodeBundle
- Describe
Outputs List<GetCode Bundles Code Bundle Describe Output> - Holds the output of DESCRIBE CODE BUNDLE.
- Show
Outputs List<GetCode Bundles Code Bundle Show Output> - Holds the output of SHOW CODE BUNDLES.
- Describe
Outputs []GetCode Bundles Code Bundle Describe Output - Holds the output of DESCRIBE CODE BUNDLE.
- Show
Outputs []GetCode Bundles Code Bundle Show Output - Holds the output of SHOW CODE BUNDLES.
- describe_
outputs list(object) - Holds the output of DESCRIBE CODE BUNDLE.
- show_
outputs list(object) - Holds the output of SHOW CODE BUNDLES.
- describe
Outputs List<GetCode Bundles Code Bundle Describe Output> - Holds the output of DESCRIBE CODE BUNDLE.
- show
Outputs List<GetCode Bundles Code Bundle Show Output> - Holds the output of SHOW CODE BUNDLES.
- describe
Outputs GetCode Bundles Code Bundle Describe Output[] - Holds the output of DESCRIBE CODE BUNDLE.
- show
Outputs GetCode Bundles Code Bundle Show Output[] - Holds the output of SHOW CODE BUNDLES.
- describe_
outputs Sequence[GetCode Bundles Code Bundle Describe Output] - Holds the output of DESCRIBE CODE BUNDLE.
- show_
outputs Sequence[GetCode Bundles Code Bundle Show Output] - Holds the output of SHOW CODE BUNDLES.
- describe
Outputs List<Property Map> - Holds the output of DESCRIBE CODE BUNDLE.
- show
Outputs List<Property Map> - Holds the output of SHOW CODE BUNDLES.
GetCodeBundlesCodeBundleDescribeOutput
- 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
GetCodeBundlesCodeBundleShowOutput
- 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
GetCodeBundlesIn
- Account bool
- Returns records for the entire account.
- Application string
- Returns records for the specified application.
- Application
Package string - Returns records for the specified application package.
- Database string
- Returns records for the current database in use or for a specified database.
- Schema string
- Returns records for the current schema in use or a specified schema. Use fully qualified name.
- Account bool
- Returns records for the entire account.
- Application string
- Returns records for the specified application.
- Application
Package string - Returns records for the specified application package.
- Database string
- Returns records for the current database in use or for a specified database.
- Schema string
- Returns records for the current schema in use or a specified schema. Use fully qualified name.
- account bool
- Returns records for the entire account.
- application string
- Returns records for the specified application.
- application_
package string - Returns records for the specified application package.
- database string
- Returns records for the current database in use or for a specified database.
- schema string
- Returns records for the current schema in use or a specified schema. Use fully qualified name.
- account Boolean
- Returns records for the entire account.
- application String
- Returns records for the specified application.
- application
Package String - Returns records for the specified application package.
- database String
- Returns records for the current database in use or for a specified database.
- schema String
- Returns records for the current schema in use or a specified schema. Use fully qualified name.
- account boolean
- Returns records for the entire account.
- application string
- Returns records for the specified application.
- application
Package string - Returns records for the specified application package.
- database string
- Returns records for the current database in use or for a specified database.
- schema string
- Returns records for the current schema in use or a specified schema. Use fully qualified name.
- account bool
- Returns records for the entire account.
- application str
- Returns records for the specified application.
- application_
package str - Returns records for the specified application package.
- database str
- Returns records for the current database in use or for a specified database.
- schema str
- Returns records for the current schema in use or a specified schema. Use fully qualified name.
- account Boolean
- Returns records for the entire account.
- application String
- Returns records for the specified application.
- application
Package String - Returns records for the specified application package.
- database String
- Returns records for the current database in use or for a specified database.
- schema String
- Returns records for the current schema in use or a specified schema. Use fully qualified name.
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