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

Permission sets aren't provisioning in 3.1.7 #106

Open allquixotic opened 2 years ago

allquixotic commented 2 years ago

I notice in 3.1.7 that none of my permission sets are getting provisioned into the account using SSO Extensions. These are valid permission sets, which do not throw an error in any of the Lambda processors. The permissionSetTopicProcessor gives log messages that indicate a status of "SUCCESS" on the waiter that requests provisioning, but the provisioning operation doesn't happen.

When I go into the permission set and manually click the "Update" button to provision it, it works. And all the permissions I asked for in the permission set JSON are reflected in the live permission set.

leelalagudu commented 1 year ago

Hey @allquixotic , please help me understand the correct flow here:

allquixotic commented 1 year ago

Leela,

That is correct.

We are able to reproduce this over and over with many permission sets. It seems the trigger to provision the updates is not working, or isn't firing. As I noted in a different issue, the second to last step in the code pipeline failed during the SSOEx update from 3.1.5 to 3.1.7, so maybe that has something to do with it? I gave the error for that in the other issue.

leelalagudu commented 1 year ago

Hi @allquixotic ,

After some debugging, I now understood the root cause of the issue. I am still trying to figure out a clean solution to handle this, and will update you when done. For context, here's where the issue is