Pipeline should be fired when we move accounts between OUs
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
Add UpdateManagedAccount to the CustomControlTowerLECWEventRule Resource EventPattern:
https://github.com/aws-solutions/aws-control-tower-customizations/blob/main/deployment/custom-control-tower-initiation.template#L3009
"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.