feat: Add boundary_role data source (#743)

This commit is contained in:
Rayenn Hamrouni authored and GitHub committed 2025-10-10 08:29:39 -07:00
1 parent 08f651b123
commit e9f7b89ad2
5 files changed
+366

No files matched your search

@@ -0,0 +1,15 @@
# Role from the global scope
data "boundary_role" "global_role" {
name = "global_role_one"
}
# Role from an org scope
data "boundary_scope" "org" {
name = "org_one"
scope_id = "global"
}
data "boundary_role" "org_role" {
name = "org_role_one"
scope_id = data.boundary_scope.org.id
}