Skip to content

Commit

Permalink
use correct scope (#664)
Browse files Browse the repository at this point in the history
  • Loading branch information
IevaVasiljeva committed Sep 21, 2022
1 parent a3ae78b commit 42573f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grafana/resource_role_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func TestAccRole(t *testing.T) {
"grafana_role.test", "permissions.0.action", "users:create",
),
resource.TestCheckResourceAttr(
"grafana_role.test", "permissions.1.scope", "global:users:*",
"grafana_role.test", "permissions.1.scope", "global.users:*",
),
resource.TestCheckResourceAttr(
"grafana_role.test", "permissions.1.action", "users:read",
Expand Down Expand Up @@ -154,7 +154,7 @@ resource "grafana_role" "test" {
hidden = true
permissions {
action = "users:read"
scope = "global:users:*"
scope = "global.users:*"
}
permissions {
action = "users:create"
Expand Down

0 comments on commit 42573f3

Please sign in to comment.