Usage :
We have an admin panel (web application) and their are around 10 admin who access this application, some of them access panel from home where they are using a dynamic ip.
Problem :
We do not want to allow https from all in security group but as all admins having dynamic ip we are unable to control inbound traffic by manually change in security group.
Solution Required :
A lambda function or other solution which have an endpoint(aws url) where admins, login with preset credentials which automatically whitelist their IP address for 9 hours in security group.
Additional :
Would be great if solution along with IAM policy for role.