Set default session parameters at the account level #1848
Labels
category:resource
feature-request
Used to mark issues with provider's missing functionalities
resource:object_parameter
Issue connected to the snowflake_object_parameter resource
Snowflake supports setting session parameters defaults at the account level. For example:
I've tried to use the new
snowflake_account_parameter
orsnowflake_object_parameter
resources to specify these for all our accounts in terraform, but so far I haven't managed to get it to work.Using
snowflake_account_parameter
just complains that these settings aren't valid account parameters:Complains that
TIMEZONE
is not a valid key (I shortened the message):Okay, so I figured that this is what the
on_account
parameter tosnowflake_object_parameter
is meant for. This:Gives this error with a set of expected keys which doesn't match any pattern I can think of:
Trying the following makes it complain that there's no such thing as a session parameter, but
parameters.go
lists theTIMEZONE
parameter as typeParameterType{ParameterTypeSession}
:Trying to call it a user parameter (as all session parameters can be set at the user level) just gets me back to it complaining that
TIMEZONE
is not a valid key:Is there a way that setting session parameter defaults at the account level is meant to work? If not, please consider that a feature request. I don't have a strong opinion on whether its added to
snowflake_account_parameter
orsnowflake_object_parameter { on_account = true }
, as the distinction between the two isn't clear to me and seems kind of arbitrary.The text was updated successfully, but these errors were encountered: