createShare

Last updated: January 27, 2026

Creates a new share in Snowflake. Shares are used to securely share data between Snowflake accounts.

Note: Automatic rollback drops the share.

Known limitation: This change type does not support database inspection features (snapshot, diff, diff-changelog, and generate-changelog commands).

Available attributes

Attribute

Type

Description

Required

shareName

String

Name of the share to create

Yes

replaceIfExists

Boolean

Replace the share if it exists using OR REPLACE*

No

ifNotExists

Boolean

Only create if the share doesn't exist using IF NOT EXISTS*

No

comment

String

Comment describing the share

No

* replaceIfExists and ifNotExists are mutually exclusive.

loading

loading

loading

loading