Skip to content

Commit 44a72f6

Browse files
author
Daniel Noworyta
committed
chore: role name change to not confuse user in examples/complete
1 parent 310c5dc commit 44a72f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/complete/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ module "internal_stage" {
5454
"${snowflake_database.this.name}.${snowflake_database_role.db_role_2.name}",
5555
]
5656
}
57-
user_1 = { # User created database role
57+
role_1 = { # User created database role
5858
granted_to_roles = [snowflake_role.role_1.name]
5959
granted_to_database_roles = ["${snowflake_database.this.name}.${snowflake_database_role.db_role_3.name}"]
6060
all_privileges = true
6161
with_grant_option = true
6262
on_future = true
6363
on_all = true
6464
}
65-
user_2 = { # User created database role
65+
role_2 = { # User created database role
6666
granted_to_database_roles = ["${snowflake_database.this.name}.${snowflake_database_role.db_role_3.name}"]
6767
stage_grants = ["READ", "WRITE"]
6868
with_grant_option = false
@@ -71,5 +71,5 @@ module "internal_stage" {
7171
}
7272
}
7373

74-
stage_ownership_grant = "user_1"
74+
stage_ownership_grant = "role_1"
7575
}

0 commit comments

Comments
 (0)