New Data source data.boundary_user (#468)

This commit is contained in:
drewmullen authored and GitHub committed 2023-10-17 16:36:51 -07:00
1 parent b06da56d75
commit 0f2473a1d7
16 files changed
+480 -29

No files matched your search

@@ -1,10 +1,10 @@
# Retrieve the ID of a Boundary project
data "boundary_scope" "org" {
name = "SecOps"
name = "SecOps"
parent_scope_id = "global"
}
data "boundary_scope" "project" {
name = "2111"
name = "2111"
parent_scope_id = data.boundary_scope.id
}
}
@@ -0,0 +1,17 @@
# Retrieve a user from the global scope
data "boundary_user" "global_scope_admin" {
name = "admin"
}
# User from a org scope
data "boundary_user" "org_user" {
name = "username"
scope_id = data.boundary_scope.org.id
}
data "boundary_scope" "org" {
name = "my-org"
parent_scope_id = data.boundary_scope.org.id
}