aws-samples / aws-iam-identity-center-extensions

This solution is intended for enterprises that need a streamlined way of managing user access to their AWS accounts. Using this solution, your identity and access management teams can extend AWS SSO functionality by automating common access management and governance use cases
MIT License
65 stars 24 forks source link

Account provisioning does not work for tripple nested OUs #88

Closed jjleigh closed 2 years ago

jjleigh commented 2 years ago

When you try to create an account provision using an OU that has tripple or more levels of nesting the provisioning does not work. No error no indication of failure. The messages are not enqueued but the links handler lambda is triggered.

Example structure:

If an account assignment is created for OU.1 none of the accounts nested in the grandchildren OUs will be assigned to the permission set. No error will occur.

leelalagudu commented 2 years ago

Hope this helps, Leela

jjleigh commented 2 years ago

@leelalagudu Thank you for the update! Is it possible to have this change in before June 10?

leelalagudu commented 2 years ago

@jjleigh , I am aiming to push the first part of the change as part of the bug fixes for permission set schema validation. I will update in case this is changed

leelalagudu commented 2 years ago

@jjleigh , this is now handled with PR #89 . For reference, this is the behaviour the solution would have:

Hope this helps with your use case, Leela