Snowflake-Labs / terraform-provider-snowflake

Terraform provider for managing Snowflake accounts
https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest
MIT License
552 stars 420 forks source link

snowflake_function cannot be declared IMMUTABLE #2426

Open elventear opened 10 months ago

elventear commented 10 months ago

Terraform CLI and Provider Versions

latest.

Use Cases or Problem Statement

snowflake_function resources cannot be marked as immutable. This creates a problem when using UDFs with Dynamic Tables, which will not do incremental refreshes if they are not immutable.

Proposal

Add immutable option to resource.

How much impact is this issue causing?

High

Additional Information

No response

sfc-gh-asawicki commented 10 months ago

Hey @elventear. Thanks for reaching out to us.

We will be refining existing resources before going V1 (you can see it on our roadmap: https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/ROADMAP.md#our-roadmap). We will take care of snowflake_function then.