https://pulumi.com logo
#general
Title
# general
g

great-receptionist-19570

07/14/2023, 11:00 PM
For our Pulumi Snowflake repo, we are consistently running into this problem with these requirements.txt versions:
Copy code
pulumi==3.65.1
pulumi-snowflake==0.27.1
So on Warehouse resource create:
Copy code
snowflake.Warehouse(
            "my_warehouse_name",
            auto_resume=True,
            auto_suspend=60,
            enable_query_acceleration = False,           -- commenting this out does not help
            query_acceleration_max_scale_factor=0,       -- commenting this out does not help
            name="my_warehouse_name",
            warehouse_size="SMALL",
            opts=pulumi.ResourceOptions(protect=False, retain_on_delete=True),
        )
we get this unavoidable error:
Copy code
invalid property 'QUERY_ACCELERATION_MAX_SCALE_FACTOR'; feature 'Query Acceleration Service' not enabled
Which it appears that Pulumi merged a fix for into terraform https://github.com/Snowflake-Labs/terraform-provider-snowflake/issues/1628 what do I grab to get this fix in Pulumi? Outside of going from Standard to Enterprise license with Snowflake ($$), I’m not clear on how to fix this.
m

melodic-tomato-39005

07/15/2023, 6:09 AM
Upgrading pulumi-snowflake to the latest v0.30.1 will fix it since that version is built on the newest terraform-provider-snowflake which has the fix you linked.