createStage
Last updated: August 12, 2026
Creates a new stage in Snowflake. Stages are locations where data files are stored for loading into or unloading from tables.
Note: Automatic rollback drops the stage.
Available attributes
Name | Type | Description | Required |
|---|---|---|---|
| String | Name of the catalog (database) where the stage is created | No |
| String | Name of the schema where the stage is created | No |
| String | Name of the stage to create | Yes |
| String | Type of stage: | Yes |
| String | Comment describing the stage | No |
| Boolean | Replace the stage if it exists using | No |
| Nested | Configuration for external stage locations | No |
| Nested | File format configuration | No |
| Nested | Directory table configuration for change tracking | No |
| Nested | Key-value pairs of tags to apply | No |
stageParams attributes
Configuration for external stage locations (nested element):
Attribute | Type | Description |
|---|---|---|
| String | External storage URL (S3, Azure, GCS) |
| String | Named integration for authentication |
| String | Encryption type (e.g., |
| String | Private/custom endpoint URL |
| String | AWS S3 Access Point ARN |
| Boolean | Use AWS PrivateLink endpoint |
| Nested | AWS credentials ( |
| Nested | Azure credentials ( |
fileFormat attributes
File format configuration (nested element):
Attribute | Type | Description |
|---|---|---|
| String | Reference to named file format |
| String | Type: |
| MapWrapper | Type-specific options (e.g., |
directoryTableParams attributes
Directory table configuration for change tracking (nested element):
Attribute | Type | Description |
|---|---|---|
| Boolean | Enable directory table |
| Boolean | Automatically refresh directory |
| Boolean | Refresh immediately on creation |
| String | Named notification integration |