updating examples to use new grants_strings syntax (#132)

* updating examples to use new grants_strings syntax

* Make docs

Co-authored-by: Louis Ruch <louisruch@gmail.com>
This commit is contained in:
DevOps RobandLouis Ruch authored and GitHub committed 2021-09-08 13:02:12 -07:00
1 parent 725f2d8fb9
commit 9c054c1ac8
3 files changed
+4 -4

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]
grants = ["id=*;type=*;actions=read"]
grant_strings = ["id=*;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]
grants = ["id=*;type=*;actions=read"]
grant_strings = ["id=*;type=*;actions=read"]
scope_id = boundary_scope.project.id
}
```
@@ -23,6 +23,6 @@ resource "boundary_role" "readonly" {
name = "readonly"
description = "A readonly role"
principal_ids = [boundary_user.readonly.id]
grants = ["id=*;type=*;actions=read"]
grant_strings = ["id=*;type=*;actions=read"]
scope_id = boundary_scope.project.id
}
@@ -16,6 +16,6 @@ resource "boundary_role" "readonly" {
name = "readonly"
description = "A readonly role"
principal_ids = [boundary_user.readonly.id]
grants = ["id=*;type=*;actions=read"]
grant_strings = ["id=*;type=*;actions=read"]
scope_id = boundary_scope.org.id
}