Open rmsilva1973 opened 2 years ago
Add UpdateManagedAccount to the CustomControlTowerLECWEventRule Resource EventPattern:
"eventName": [ "CreateManagedAccount", "UpdateManagedAccount" ],
@cabjas01 the event source is not "aws.controltower" I think it's "organizations.amazonaws.com" as can be seen in eventSource. Also, lifecycle_event_handler.py expects messages from aws.controltower only.
A little bit more tweaking, but still seems doable...
Thanks @rmsilva1973 we have added this to our backlog.
Since we can target differente stacksets to different OUs, I think it would be reasonable that the pipeline gets fired whenever we move accounts between OUs