* fix: Modify error message * refact: Rename keys for consistency * fix: Use scope_id in boundary_scope The examples for the boundary_scope data source suggest to use `parent_scope_id`, but the provider is actually expecting `scope_id`.
11 lines
209 B
Terraform
11 lines
209 B
Terraform
# Retrieve the ID of a Boundary project
|
|
data "boundary_scope" "org" {
|
|
name = "SecOps"
|
|
scope_id = "global"
|
|
}
|
|
|
|
data "boundary_scope" "project" {
|
|
name = "2111"
|
|
scope_id = data.boundary_scope.id
|
|
}
|