diff --git a/source/packages/@aws-accelerator/accelerator/lib/lambdas/validate-environment/index.ts b/source/packages/@aws-accelerator/accelerator/lib/lambdas/validate-environment/index.ts index 0661d4be2..e23a68dae 100644 --- a/source/packages/@aws-accelerator/accelerator/lib/lambdas/validate-environment/index.ts +++ b/source/packages/@aws-accelerator/accelerator/lib/lambdas/validate-environment/index.ts @@ -266,7 +266,8 @@ export async function handler(event: AWSLambda.CloudFormationCustomResourceEvent name: parsedDataBag['name'], email: account['acceleratorKey'], description: parsedDataBag['description'], - organizationalUnitId: await getOuName(account['ouName']), + // formatting for CT requirements to support nested ou's + organizationalUnitId: (await getOuName(account['ouName'])) + ` (${accountOu.awsKey})`, }; const params: PutCommandInput = { TableName: newCTAccountsTableName,