-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Hi, I am trying to create a new OU under root. But not sure what to put for parent. In aws console i already have root and few OU under it that i created manually.
Thank you for this helpful repo.
const organization = Organization.of(scope, "Organization");
organization.principal; // The AWS IAM organization principal
// Create an organizational unit (OU)
const organizationUnit = new OrganizationalUnit(this, "OrganizationalUnit", {
organizationalUnitName: "MyFirstOU",
parent: organization <--------????
});
maybe its better to make parent a conditional param. and if its not specified new OrganizationalUnit() should just create the new org under root.
Metadata
Metadata
Assignees
Labels
No labels

