terraform-provider-snowflake
terraform-provider-snowflake copied to clipboard
[Feature]: missing resource "snowflake_session_policy"
Terraform CLI Version
1.7.5
Terraform Provider Version
0.92
Terraform Configuration
resource "snowflake_session_policy" "session_policy_test" {
database = "DB"
schema = "SCHEMA"
name = "TEST_SESSION_POLICY"
comment = "TEST_SESSION_POLICY"
SESSION_IDLE_TIMEOUT_MINS = 60
SESSION_UI_IDLE_TIMEOUT_MINS = 60
}
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?
- [ ] Yeah, I'll take it 😎