Skip to main content

organizational_units_list_only

Lists organizational_units in a region or regions, for all properties use organizational_units

Overview

Nameorganizational_units_list_only
TypeResource
DescriptionYou can use organizational units (OUs) to group accounts together to administer as a single unit. This greatly simplifies the management of your accounts. For example, you can attach a policy-based control to an OU, and all accounts within the OU automatically inherit the policy. You can create multiple OUs within a single organization, and you can create OUs within other OUs. Each OU can contain multiple accounts, and you can move accounts from one OU to another. However, OU names must be unique within a parent OU or root.
Idaws.organizations.organizational_units_list_only

Fields

NameDatatypeDescription
idstringThe unique identifier (ID) associated with this OU.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all organizational_units in a region.

SELECT
region,
id
FROM aws.organizations.organizational_units_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the organizational_units_list_only resource, see organizational_units