Open karthik12112 opened 1 year ago
Hi, Thank you for reporting the issue. In general, Lambda has a hard timeout limit of 15 minutes, so if you have more than 250 permission sets, the function will likely take more than 15 minutes to complete. In that case, you can customize the solution to run the scripts in an ECS container or EC2 instance to avoid hitting the function timeout limit.
https://github.com/aws-samples/aws-identitycenter-codepipeline-auto-assignment/blob/e41e5a5d0848e2e67ff6ef2f266bc2ee2903994a/src/lambda-code/identity-center-auto-assign/auto-assignment.py#L28