Open arik103 opened 3 weeks ago
Hi @arik103 👋, snowflake_session_policy
is currently not supported in the provider. We will add session policies as 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.
We welcome community contributions based on our contribution guide. For now, you can use https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest/docs/resources/unsafe_execute as a temporary workaround (please read the docs first).
Terraform CLI Version
1.7.5
Terraform Provider Version
0.92
Terraform Configuration
Category
category:resource
Object type(s)
No response
Expected Behavior
expected for resources to be there.
Actual Behavior
git:(main) ✗ terraform plan Running plan in the remote backend. Output will stream here. Pressing Ctrl-C will stop streaming the logs, but will not stop the plan running remotely.
Preparing the remote plan... Waiting for the plan to start...
Terraform v1.7.5 on linux_amd64 Initializing plugins and modules... ╷ │ Error: Invalid resource type │ │ on session_policy.tf line 6, in resource "snowflake_session_policy" "session_policy_test": │ 6: resource "snowflake_session_policy" "session_policy_test" { │ │ The provider snowflake-labs/snowflake does not support resource type │ "snowflake_session_policy". ╵ Operation failed: failed running terraform plan (exit 1)
Steps to Reproduce
Run "terraform plan"
How much impact is this issue causing?
Medium
Logs
No response
Additional Information
I am able to see where is code is implemented for session policy but there is no resource available.
Would you like to implement a fix?