Closed phuonghuynh closed 6 years ago
Will try now
Hi @phuonghuynh,
I just tried the update but I still have the problem where user1
authenticates but user2
is added to the dynamic security group.
@erikbor Could you help to check event
is None
or not in Lambda CloudWatch Log ? as screenshot bellow
event
is not in any of the CloudWatch logs
@erikbor Could you check Lambda Function authorize-*
has following code as bellow?
And file args.py
should has Log Level set to DEBUG
(by module "dyn-iam-access")
@phuonghuynh I just completely deleted all the dyn iam resources and ran terraform apply again and now the correct user is put the dynamic security group!
Nice but its weird ^
@erikbor its good to make a new release for this function ?
Let me test it some more with more user accounts, I'll get back to you in a hour.
@phuonghuynh it's all good and works flawless! thanks for the fixes
Attach Event object to the handle function which causes #12