Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: terraform resource for creating session policy #3293

Open
1 task
rahulgoyal01 opened this issue Dec 16, 2024 · 1 comment
Open
1 task

[Feature]: terraform resource for creating session policy #3293

rahulgoyal01 opened this issue Dec 16, 2024 · 1 comment
Labels
feature-request Used to mark issues with provider's missing functionalities resource:session_policy

Comments

@rahulgoyal01
Copy link

Company Name

No response

Use Cases or Problem Statement

Hi Team,

I didn't find any resource block for creating session policy. As of now using snowflake_execute to create them. Request you if you can develop the feature and add to upcoming provider release.

Category

category:resource

Object type(s)

No response

Proposal

the resource able to support the parameter supported on snowflake CREATE SESSION POLICY as follows:

CREATE [OR REPLACE] SESSION POLICY [IF NOT EXISTS]
[ SESSION_IDLE_TIMEOUT_MINS = ]
[ SESSION_UI_IDLE_TIMEOUT_MINS = ]
[ ALLOWED_SECONDARY_ROLES = ( [ { 'ALL' | <role_name> [ , <role_name> ... ] } ] ) ]
[ COMMENT = '<string_literal>' ]

How much impact is this issue causing?

Low

Additional Information

No response

Would you like to implement a fix?

  • Yeah, I'll take it 😎
@rahulgoyal01 rahulgoyal01 added the feature-request Used to mark issues with provider's missing functionalities label Dec 16, 2024
@sfc-gh-jmichalak
Copy link
Collaborator

sfc-gh-jmichalak commented Dec 16, 2024

Hi @rahulgoyal01 👋

Session policies are on our Remaining Objects list. We will rework them in the future.

As a workaround, please use execute.

Also, this is a duplicate of #2870

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Used to mark issues with provider's missing functionalities resource:session_policy
Projects
None yet
Development

No branches or pull requests

2 participants