Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jmichalak committed Aug 13, 2024
1 parent 167f51c commit d3a7c06
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/resources/grant_privileges_to_account_role.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ resource "snowflake_grant_privileges_to_account_role" "example" {
account_role_name = snowflake_account_role.db_role.name
on_schema_object {
object_type = "VIEW"
object_name = "\"${snowflake_schema.my_schema.fully_qualified_name}\".\"my_view\"" # note this is a fully qualified name!
object_name = snowflake_view.my_view.fully_qualified_name # note this is a fully qualified name!
}
}
Expand All @@ -190,7 +190,7 @@ resource "snowflake_grant_privileges_to_account_role" "example" {
account_role_name = snowflake_account_role.db_role.name
on_schema_object {
object_type = "VIEW"
object_name = "\"${snowflake_schema.my_schema.fully_qualified_name}\".\"my_view\"" # note this is a fully qualified name!
object_name = snowflake_view.my_view.fully_qualified_name # note this is a fully qualified name!
}
all_privileges = true
with_grant_option = true
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/grant_privileges_to_database_role.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ resource "snowflake_grant_privileges_to_database_role" "example" {
database_role_name = snowflake_database_role.db_role.fully_qualified_name
on_schema_object {
object_type = "VIEW"
object_name = "\"${snowflake_schema.my_schema.fully_qualified_name}\".\"my_view\"" # note this is a fully qualified name!
object_name = snowflake_view.my_view.fully_qualified_name # note this is a fully qualified name!
}
}
Expand All @@ -118,7 +118,7 @@ resource "snowflake_grant_privileges_to_database_role" "example" {
database_role_name = snowflake_database_role.db_role.fully_qualified_name
on_schema_object {
object_type = "VIEW"
object_name = "\"${snowflake_schema.my_schema.fully_qualified_name}\".\"my_view\"" # note this is a fully qualified name!
object_name = snowflake_view.my_view.fully_qualified_name # note this is a fully qualified name!
}
all_privileges = true
with_grant_option = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ resource "snowflake_grant_privileges_to_account_role" "example" {
account_role_name = snowflake_account_role.db_role.name
on_schema_object {
object_type = "VIEW"
object_name = "\"${snowflake_schema.my_schema.fully_qualified_name}\".\"my_view\"" # note this is a fully qualified name!
object_name = snowflake_view.my_view.fully_qualified_name # note this is a fully qualified name!
}
}

Expand All @@ -170,7 +170,7 @@ resource "snowflake_grant_privileges_to_account_role" "example" {
account_role_name = snowflake_account_role.db_role.name
on_schema_object {
object_type = "VIEW"
object_name = "\"${snowflake_schema.my_schema.fully_qualified_name}\".\"my_view\"" # note this is a fully qualified name!
object_name = snowflake_view.my_view.fully_qualified_name # note this is a fully qualified name!
}
all_privileges = true
with_grant_option = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ resource "snowflake_grant_privileges_to_database_role" "example" {
database_role_name = snowflake_database_role.db_role.fully_qualified_name
on_schema_object {
object_type = "VIEW"
object_name = "\"${snowflake_schema.my_schema.fully_qualified_name}\".\"my_view\"" # note this is a fully qualified name!
object_name = snowflake_view.my_view.fully_qualified_name # note this is a fully qualified name!
}
}

Expand All @@ -100,7 +100,7 @@ resource "snowflake_grant_privileges_to_database_role" "example" {
database_role_name = snowflake_database_role.db_role.fully_qualified_name
on_schema_object {
object_type = "VIEW"
object_name = "\"${snowflake_schema.my_schema.fully_qualified_name}\".\"my_view\"" # note this is a fully qualified name!
object_name = snowflake_view.my_view.fully_qualified_name # note this is a fully qualified name!
}
all_privileges = true
with_grant_option = true
Expand Down

0 comments on commit d3a7c06

Please sign in to comment.