# Organizational units

You define the hierarchy for your organizational units (OUs) with the `organziationalUnits` property at the top level of the organization.yml file. It's an object whose keys are OU paths, and values are configuration for the corresponding OUs.

The root OU of the hierarchy is always **Root**, and all other OUs are its children.

#### Examples

This is the minimum hierarchy. As you can see, you must have the Root OU but you don't have to provide configuration for it.

{% code title="organization/organization.yml" %}

```yaml
masterAccountId: "098765432100"

organizationalUnits:
  Root: {}
```

{% endcode %}

Here we have a more complex hierarchy with some nested OUs.

{% code title="organization/organization.yml" %}

```yaml
masterAccountId: "098765432100"

organizationalUnits:
  Root/Workloads/Dev: {}
  Root/Workloads/Test: {}
  Root/Workloads/Prod: {}
  Root/Sandbox: {}
```

{% endcode %}

The above configuration is flat but represents this kind of hierarchy:

```bash
Root
├─ Workloads
│  ├─ Dev
│  ├─ Test
│  └─ Prod
└─ Sandbox
```
