diff --git a/pkg/resources/view_acceptance_test.go b/pkg/resources/view_acceptance_test.go index 3a6324783d..dc553bb1b2 100644 --- a/pkg/resources/view_acceptance_test.go +++ b/pkg/resources/view_acceptance_test.go @@ -497,7 +497,7 @@ resource "snowflake_account_role" "test" { resource "snowflake_grant_privileges_to_account_role" "grant" { privileges = ["SELECT"] - account_role_name = snowflake_role.test.name + account_role_name = snowflake_account_role.test.name on_schema_object { object_type = "VIEW" object_name = "\"%[1]s\".\"%[2]s\".\"${snowflake_view.test.name}\""