Skip to content

Commit

Permalink
chore: role name change to not confuse user in examples/complete
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Noworyta committed Jul 22, 2024
1 parent 310c5dc commit 44a72f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ module "internal_stage" {
"${snowflake_database.this.name}.${snowflake_database_role.db_role_2.name}",
]
}
user_1 = { # User created database role
role_1 = { # User created database role
granted_to_roles = [snowflake_role.role_1.name]
granted_to_database_roles = ["${snowflake_database.this.name}.${snowflake_database_role.db_role_3.name}"]
all_privileges = true
with_grant_option = true
on_future = true
on_all = true
}
user_2 = { # User created database role
role_2 = { # User created database role
granted_to_database_roles = ["${snowflake_database.this.name}.${snowflake_database_role.db_role_3.name}"]
stage_grants = ["READ", "WRITE"]
with_grant_option = false
Expand All @@ -71,5 +71,5 @@ module "internal_stage" {
}
}

stage_ownership_grant = "user_1"
stage_ownership_grant = "role_1"
}

0 comments on commit 44a72f6

Please sign in to comment.