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

[Feature]: Add support for optional/default arguments for snowflake_function resources #3097

Open deanmorin opened 2 months ago

deanmorin commented 2 months ago

Use Cases or Problem Statement

I want to create a function that has an optional/default argument, as specified in the Snowflake Documentation.

Category

category:resource

Object type(s)

resource:function

Proposal

Add a default argument to the arguments block in the snowflake_function resource. This is identical to the same proposal for procedures.

How much impact is this issue causing?

Medium

Additional Information

No response

Would you like to implement a fix?

sfc-gh-jmichalak commented 2 months ago

Hi @deanmorin 👋 Functions and procedures are currently being reworked, and this will be supported in one of the next releases. cc @sfc-gh-asawicki