Snowflake-Labs / terraform-provider-snowflake

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

Add Event Table to Snowflake Provide #1888

Open Antupis opened 1 year ago

Antupis commented 1 year ago

Description: I would like to request the addition of the event table feature to the Snowflake provider in Terraform. Currently, this feature is not supported by the provider. The event table is used for logging and tracing purposes in Snowflake. You can find an example of setting up an event table in the Snowflake documentation: Event Table - Setting Up.

Solution: I suggest adding two new resources to the Snowflake provider: snowflake_event_table and snowflake_event_table_grant. These resources will allow users to create an event table and grant permissions to it it. Additionally, the provider can utilize the existing snowflake_account_parameter resource to set the account's event table.

Alternatives Considered: As an alternative, users can manually create the event table and associate it with their account using SQL.

Additional Context: Please note that the event table is still in public preview.

philippeboyd commented 9 months ago

@sfc-gh-swinkler is your PR #2215 and this issue related?

sfc-gh-swinkler commented 9 months ago

It is the first step toward getting resource added.

bob-zarkoob commented 5 months ago

Hi @sfc-gh-swinkler, any updates on this topic? or any estimates?

sfc-gh-asawicki commented 5 months ago

Hey @bob-zarkoob, they are part of https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/ROADMAP.md#preparing-the-rest-of-the-fundamental-ga-objects-for-the-provider-v1.