Files
terraform-provider-threshold/examples/data-sources/boundary_role/data-source.tf
T

15 lines
303 B
Terraform
Raw Normal View History

2025-10-10 17:29:39 +02:00
# 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
}