Org Unit data source in the Terraform Googleworkspace provider. Org Unit resides under the https://www.googleapis.com/auth/admin.directory.orgunit
client scope.
data "googleworkspace_org_unit" "org" {
org_unit_id = "id:01ab2c3d4efg56h"
}
org_unit_id
(String) The unique ID of the organizational unit.org_unit_path
(String) The full path to the organizational unit. The orgUnitPath is a derived property. When listed, it is derived from parentOrgunitPath and organizational unit's name. For example, for an organizational unit named 'apps' under parent organization '/engineering', the orgUnitPath is '/engineering/apps'. In order to edit an orgUnitPath, either update the name of the organization or the parentOrgunitPath. A user's organizational unit determines which Google Workspace services the user has access to. If the user is moved to a new organization, the user's access changes. For more information about organization structures, see the administration help center. For more information about moving a user to a different organization, see chromeosdevices.update a user.block_inheritance
(Boolean) Determines if a sub-organizational unit can inherit the settings of the parent organization. False means a sub-organizational unit inherits the settings of the nearest parent organizational unit. For more information on inheritance and users in an organization structure, see the administration help center.description
(String) Description of the organizational unit.etag
(String) ETag of the resource.id
(String) The ID of this resource.name
(String) The organizational unit's path name. For example, an organizational unit's name within the /corp/support/sales_support parent path is sales_support.parent_org_unit_id
(String) The unique ID of the parent organizational unit.parent_org_unit_path
(String) The organizational unit's parent path. For example, /corp/sales is the parent path for /corp/sales/sales_support organizational unit.