Files
terraform-provider-threshold/docs/data-sources/scope.md
T

960 B

page_title, subcategory, description
page_title subcategory description
boundary_scope Data Source - terraform-provider-boundary The scope data source allows you to discover an existing Boundary scope by name.

boundary_scope (Data Source)

The scope data source allows you to discover an existing Boundary scope by name.

Example Usage

# Retrieve the ID of a Boundary project
data "boundary_scope" "org" {
  name     = "SecOps"
  parent_scope_id = "global"
}

data "boundary_scope" "project" {
  name     = "2111"
  parent_scope_id = data.boundary_scope.id
}

Schema

Required

  • name (String) The name of the scope to retrieve.
  • scope_id (String) The parent scope ID that will be queried for the scope.

Read-Only

  • description (String) The description of the retrieved scope.
  • id (String) The ID of the retrieved scope.