Snowflake-Labs / terraform-provider-snowflake

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

Request Terraform resource for PROJECTION POLICY #2919

Open ramprasads108 opened 2 months ago

ramprasads108 commented 2 months ago

Use Cases or Problem Statement

Want the ability to create/alter/destroy PROJECTION POLICY using Terraform . Request Terraform resource for PROJECTION POLICY (https://docs.snowflake.com/en/sql-reference/sql/create-projection-policy)

Category

category:resource

Object type(s)

No response

Proposal

No response

How much impact is this issue causing?

Medium

Additional Information

No response

Would you like to implement a fix?

sfc-gh-asawicki commented 2 months ago

Hey @ramprasads108. Thanks for reaching out to us.

This resource is not the part of the scope for the V1. For now, you can use https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest/docs/resources/unsafe_execute (please read the docs first).

Alternatively, we are open for contributions (check https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/CONTRIBUTING.md).

ramprasads108 commented 2 months ago

HI @sfc-gh-asawicki , We are not allowed to use unsafe_execute in our environment. Therefore, we request this to be prioritized in your roadmap

sfc-gh-asawicki commented 2 months ago

cc: @sfc-gh-sthyagaraj

sfc-gh-asawicki commented 2 months ago

@ramprasads108 projection policies turned GA just recently, so they are not a part of the V1 scope. We plan to support them after reaching the V1.