Skip to content
New issue

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

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

Already on GitHub? # to your account

Support setting session parameters in the provider configuration #1036

Closed
cskinfill opened this issue Jun 1, 2022 · 4 comments
Closed

Support setting session parameters in the provider configuration #1036

cskinfill opened this issue Jun 1, 2022 · 4 comments
Labels
category:resource feature-request Used to mark issues with provider's missing functionalities resource:session_parameter Issue connected to the snowflake_session_parameter resource

Comments

@cskinfill
Copy link

Is your feature request related to a problem? Please describe.

Setting session parameters that would apply to all the requests made by the provider. These session parameters would be set at the provider configuration level, and could be overwritten by session parameters set on a specific resource (like snowflake_task).

Describe the solution you'd like

In the provider configuration, a map that would be applied to the connection string as session parameters.

Describe alternatives you've considered

I'm not aware of a way to do this using the existing provider.

Additional context

I'm especially interested in setting the TIMEZONE session parameter.

@cskinfill cskinfill added the feature-request Used to mark issues with provider's missing functionalities label Jun 1, 2022
@mddataminr
Copy link

I would love to be able to set the session database. This should help with issues like:
Pipe: #533
Stage: #994

@sfc-gh-jcieslak sfc-gh-jcieslak added category:resource resource:session_parameter Issue connected to the snowflake_session_parameter resource labels May 20, 2024
@sfc-gh-asawicki
Copy link
Collaborator

Hey @cskinfill, @mddataminr .

Setting session parameters is allowed in the provider's configuration: https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest/docs#params-1, please let us know if this works for you.

@cskinfill
Copy link
Author

@sfc-gh-asawicki thanks for getting back about this issue. I'm not currently working with the snowflake terraform provider anymore, so I won't be able to provide much feedback.

@sfc-gh-asawicki
Copy link
Collaborator

Hey @cskinfill. Thanks.

I will close this issue then.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
category:resource feature-request Used to mark issues with provider's missing functionalities resource:session_parameter Issue connected to the snowflake_session_parameter resource
Projects
None yet
Development

No branches or pull requests

4 participants