diff --git a/docs/resources/user.md b/docs/resources/user.md index 45c4d204a6..99c5fe4831 100644 --- a/docs/resources/user.md +++ b/docs/resources/user.md @@ -5,6 +5,8 @@ description: |- --- +!> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the [migration guide](https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/MIGRATION_GUIDE.md#v0920--v0930) to use it. + # snowflake_user (Resource) diff --git a/pkg/resources/resource_parameters_commons.go b/pkg/resources/resource_parameters_commons.go index 6a13f609b5..af196760f2 100644 --- a/pkg/resources/resource_parameters_commons.go +++ b/pkg/resources/resource_parameters_commons.go @@ -77,8 +77,10 @@ func enrichWithReferenceToParameterDocs[T ~string](parameter T, description stri return fmt.Sprintf("%s For more information, check [%s docs](%s).", description, parameter, link) } -type showParametersFunc[T sdk.ObjectIdentifier] func(ctx context.Context, id T) ([]*sdk.Parameter, error) -type showParametersFuncProvider[T sdk.ObjectIdentifier] func(client *sdk.Client) showParametersFunc[T] +type ( + showParametersFunc[T sdk.ObjectIdentifier] func(ctx context.Context, id T) ([]*sdk.Parameter, error) + showParametersFuncProvider[T sdk.ObjectIdentifier] func(client *sdk.Client) showParametersFunc[T] +) // parametersProvider is a generic function that can be used with ParametersCustomDiff func parametersProvider[T sdk.ObjectIdentifier](