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

[Docs]: Examples for creating SQL-based `snowflake_procedure` resource #3209

Open paulfry-payroc opened 1 day ago

paulfry-payroc commented 1 day ago

Company Name

No response

Object type(s)

resource:procedure

Documentation Link

https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/examples/resources/snowflake_procedure/resource.tf

Description

There is only an example of a Javascript-based procedure.

Whereas I'm working on a SQL-based stored proc & running into issues, but without an example, can't see the typical parameters required.

References

No response

Would you like to implement a fix?

sfc-gh-jcieslak commented 1 day ago

Hey @paulfry-payroc 👋 We are going to refactor the procedure resource as part of preparing GA objects for V1. The documentation will also be improved, and we'll include more examples. Do you still have any issues with using the procedure resource, or is it only referring to documentation improvements?

paulfry-payroc commented 1 day ago

ah fantastic! Having a sql-specific resource (and supporting doc) will resolve my issue 👍