Skip to content

Commit

Permalink
chore: add missing deprecation message (#2451)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jcieslak authored Feb 1, 2024
1 parent c8cf09b commit 77de569
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/resources/database_grant.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ func DatabaseGrant() *TerraformGrantResource {
Delete: DeleteDatabaseGrant,
Update: UpdateDatabaseGrant,

Schema: databaseGrantSchema,
DeprecationMessage: "This resource is deprecated and will be removed in a future major version release. Please use snowflake_grant_privileges_to_account_role instead.",
Schema: databaseGrantSchema,
Importer: &schema.ResourceImporter{
StateContext: func(ctx context.Context, d *schema.ResourceData, m interface{}) ([]*schema.ResourceData, error) {
parts := strings.Split(d.Id(), helpers.IDDelimiter)
Expand Down

0 comments on commit 77de569

Please sign in to comment.