You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
maybe its better to make parent a conditional param. and if its not specified
new OrganizationalUnit()
should just create the new org under root.The text was updated successfully, but these errors were encountered: