alterWarehouseProperties
Last updated: January 27, 2026
Sets or unsets properties on an existing Snowflake warehouse. Supports configuration options including size, type, auto-scaling, query acceleration, resource management, and timeouts.
Note: This change type does not support automatic rollback or database inspection features (snapshot, diff, diff-changelog, and generate-changelog commands).
Available attributes
Attribute | Type | Description | Required |
|---|---|---|---|
| String | Name of the warehouse to alter | Yes |
| Boolean | If true, only alters the warehouse if it exists | No |
*SET and UNSET operations cannot be mixed in the same changeset. Use separate changesets.
SET properties
Attribute | Type | Description |
|---|---|---|
| Enum | Warehouse size: XSMALL, SMALL, MEDIUM, LARGE, XLARGE, XXLARGE, XXXLARGE, X4LARGE-X6LARGE |
| String | Warehouse type: STANDARD (default), SNOWPARK-OPTIMIZED |
| Boolean | If true, blocks until warehouse resize completes |
| Integer | Maximum number of clusters (1-10) for multi-cluster warehouses |
| Integer | Minimum number of clusters (1-10) for multi-cluster warehouses |
| Enum | Scaling policy for multi-cluster: STANDARD or ECONOMY |
| String | Seconds of inactivity before auto-suspend, or NULL to disable |
| Boolean | If true, warehouse automatically resumes when queried |
| String | Name of resource monitor to assign |
| String | Resource constraint (e.g., STANDARD_GEN_2, MEMORY_16X) |
| Boolean | Enable or disable query acceleration service |
| Integer | Maximum scale factor for query acceleration (0-100) |
| Integer | Maximum concurrent queries (1-8) |
| Integer | Max seconds a query can be queued (0-43200) |
| Integer | Max seconds a query can run (0-604800) |
| String | Comment describing the warehouse |
UNSET properties
Attribute | Type | Description |
|---|---|---|
| Boolean | Unset warehouse type |
| Boolean | Unset scaling policy |
| Boolean | Unset maximum cluster count |
| Boolean | Unset minimum cluster count |
| Boolean | Unset auto-suspend setting |
| Boolean | Unset auto-resume setting |
| Boolean | Unset resource monitor |
| Boolean | Unset resource constraint |
| Boolean | Unset query acceleration setting |
| Boolean | Unset query acceleration max scale factor |
| Boolean | Unset max concurrency level |
| Boolean | Unset statement queued timeout |
| Boolean | Unset statement timeout |
| Boolean | Unset comment |
*warehouseSize cannot be unset - warehouse must always have a size.