'AWS CDK - Stack set operation was unexpectedly stopped or failed

I would like to deploy two roles in multiple OUs with a Stack Set. The error message is:" Stack set operation was unexpectedly stopped or failed.", which doesn't help me.

Here's my code:

new CfnStackSet(this, "RoleTest", {

        stackSetName: "StackSetTest",
        permissionModel: "SERVICE_MANAGED",
        autoDeployment: {
            enabled: true,
            retainStacksOnAccountRemoval: false
        },
        stackInstancesGroup: [{
            deploymentTargets: {
                organizationalUnitIds: ["OU1","OU2"]
            },
            regions: ["eu-central-1"]
        }]

I left out the templateBody because it was just copy and pasted from a working StackSet. Can somebody guess the problem here?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source