Handle grant string id to ids

This commit is contained in:
prsekar authored and Louis Ruch committed 2024-02-01 11:21:33 -08:00
1 parent 069032103e
commit 417bad5d36
10 files changed
+17 -17

No files matched your search

+2 -2
View File
@@ -79,7 +79,7 @@ resource "boundary_role" "readonly" {
name = "readonly"
description = "A readonly role"
principal_ids = [boundary_user.readonly.id]
grant_strings = ["id=*;type=*;actions=read"]
grant_strings = ["ids=*;type=*;actions=read"]
scope_id = boundary_scope.org.id
}
```
@@ -112,7 +112,7 @@ resource "boundary_role" "readonly" {
name = "readonly"
description = "A readonly role"
principal_ids = [boundary_user.readonly.id]
grant_strings = ["id=*;type=*;actions=read"]
grant_strings = ["ids=*;type=*;actions=read"]
scope_id = boundary_scope.project.id
}
```
+1 -1
View File
@@ -55,7 +55,7 @@ resource "boundary_scope" "org" {
resource "boundary_role" "org_admin" {
scope_id = boundary_scope.global.id
grant_scope_id = boundary_scope.org.id
grant_strings = ["id=*;type=*;actions=*"]
grant_strings = ["ids=*;type=*;actions=*"]
principal_ids = ["u_auth"]
}
```