Provider Version
0.58.2 (I had this issue in 0.58.0 as well)
Terraform Version
1.4.0
Describe the bug
When creating a warehouse using Standard edition Snowflake, it tries to enable QUERY_ACCELERATION_MAX_SCALE_FACTOR which is unavailable in the Standard edition. It does this even with and without enable_query_acceleration = false in the resource definition.
Expected behavior
The warehouse should be created without trying to enable Query acceleration
Code samples and commands
With the following resource definitions:
resource "snowflake_warehouse" "sandbox_warehouse_x_small" {
name = "SANDBOX_XS"
comment = "Warehouse for use in the developer SANDBOX Database"
warehouse_size = "x-small"
enable_query_acceleration = false
}
OR
resource "snowflake_warehouse" "sandbox_warehouse_x_small" {
name = "SANDBOX_XS"
comment = "Warehouse for use in the developer SANDBOX Database"
warehouse_size = "x-small"
}
terraform apply produces the following error:
│ Error: error creating warehouse err = 001423 (22023): SQL compilation error:
│ invalid property 'QUERY_ACCELERATION_MAX_SCALE_FACTOR'; feature 'Query Acceleration Service' not enabled
│
│ with snowflake_warehouse.sandbox_warehouse_x_small,
│ on warehouses.tf line 1, in resource "snowflake_warehouse" "sandbox_warehouse_x_small":
│ 1: resource "snowflake_warehouse" "sandbox_warehouse_x_small" {
│
Additional context
- There is an existing (merged) PR for this that seems to have identified the same issue and 'fixed' it. Someone on that thread does point out it is still a bug though
Provider Version
0.58.2 (I had this issue in 0.58.0 as well)
Terraform Version
1.4.0
Describe the bug
When creating a warehouse using Standard edition Snowflake, it tries to enable
QUERY_ACCELERATION_MAX_SCALE_FACTORwhich is unavailable in the Standard edition. It does this even with and withoutenable_query_acceleration = falsein the resource definition.Expected behavior
The warehouse should be created without trying to enable Query acceleration
Code samples and commands
With the following resource definitions:
OR
terraform applyproduces the following error:Additional context